dhanesh
Apr 18 2007, 05:31 PM
Heya folks, i am back again with my annoying questions  I have this project to submit by the 7th of may and i am really desperate for some help here. I will put my questions in numbers so it would be easy for you to solve them without confusion. 1) Earlier in a post i had asked if i could create Vista compatible applications in VB .NET 2005. Well i got a good response and i went ahead and installed the needful, but i still think something is wrong. Not that i know alot of whats going on around me here, but something just doesn't seem right. This is what i did: a) Installed VB .NET 2005 (Full), and updated it via windows update. So everything is pretty much updated.  Went to the microsoft site and downloaded Microsoft® Windows® Software Development Kit for Windows Vista™ and .NET Framework 3.0 Runtime Components from >> HERE<<. The full ISO and not the web setup. c) Popped in the DVD and autostarted the installation, which was completed normally like any other installation. d) I went under All Programs > Microsoft Windows SDK > Visual Studio Registration .. and selected Integrate Windows SDK with Visual Studio 2005. After this it showd me 2 alert boxes that said it would change the include, lib and global settings of VS C++ and another one that said Windows SDK VC++ include, lib and global settings successfully updated. I didnt get any alert saying VB .NET so i am just a little confused about the whole thing of installing the SDK. If anyone can spare the time, and tell me how to install from the start with the things i have or what more to download, then that would be really helpful at this point. 2) Secondly, i ran through a slight problem with the database in VB 2005. I went to Server explorer and added a New Data Connection .. everything went fine till the "test connection" part and it shows in the Server Explorer. Now in VB 2003 the next step would be to add a Data Adapter. In VB 2005 i cant tend to find this option. The options under data are, DataSet, DataGridView, BindingSource and BindingNavigator. As far as i have learned, we have to add a data connection > then add a data adapter > then finally add a DataSet so updating and editing or records can be accomplished. Please correct me if i am wrong anywhere and Hope to see some replies soon  Regards Dhanesh.
Reply
faulty.lee
Apr 19 2007, 03:06 AM
1) You don't really need that SDK if you're just writing general VB.NET application. That SDK is for the OS itself, if you need to access certain component in the OS specifically, as the name says "Microsoft® Windows® Software Development Kit". Anyway, if you're going to write .Net 3.0 "specific" application, then you might need it. The other thing is, .Net 3.0 is an extension of .Net 2.0, since .Net 2.0 comes with VS 2005 and along with the .Net SDK. most of the things you need is already there. QUOTE After this it showd me 2 alert boxes that said it would change the include, lib and global settings of VS C++ and another one that said Windows SDK VC++ include, lib and global settings successfully updated. Those are for C++ only, so it will not affect your .Net programming 2)I'm not that familiar with VS 2005, but as I've played with it for a while, the steps to create Data Connection has changed. The data connection you created will have it's data adaptor kinda built in it. When you're ask to create the "SELECT" statement, you'll see and "Advance" button, clicking that will bring you to the full data adaptor settings, the "INSERT", "UPDATE", "DELETE" are all there. You'll need to get a book for VS 2005 if you really want to get pass this. I've a question for you though, since you've learn VS 2003, and sound like you're more familiar with it, why not just use it to write an .Net 1.1 application? I'm asking cause i'm doing that too, and i don't like Vista.
Reply
dhanesh
Apr 19 2007, 06:16 AM
Thanks fo the quick reply lee. 1) I got what you are trying to tell me, but my question was how do i know if Vista capable software can be compiled on the installed products. I did everything normally as per instructions, but those 2 alert boxes made me to think that they affected only the VC++ part of VS2005. Is there a way to check if the application i create hereon will be with the 3.0 Vista SDK or just the default 2.0 that was installed with VS2005. 2) For the DataAdapter, well i directly went to a textbox propertie and tried to do databinding from there. The DataAdapter got added automatically with 2 other things. Selected the Database etc and went through some screens. Added a forward and Back button to go through records just to test. But after successfull compilation and trying to hit next and back, i cant see the data in those boxes. Theres something to do with FILLING the dataset, but dont know how to do it here. Any help in this context would be great. The reason i want 3.0 is that in my presentation, i mentioned that my software will be vista compatible (lol, big mistake .. got caught in the moment), so incase they try to run and check the compatibility on vista, then i have a problem in hand. Regards Dhanesh.
Reply
turbopowerdmaxsteel
Apr 19 2007, 08:11 AM
As lee said, you don't need to have the .NET Framework 3.0 to run an application on vista. Even an application compiled with VB6 should run on it, thanks to the backward compatibility. I certainly have one of my .NET 2.0 application running successfully on Vista. QUOTE The reason i want 3.0 is that in my presentation, i mentioned that my software will be vista compatible (lol, big mistake .. got caught in the moment), so in case they try to run and check the compatibility on vista, then i have a problem in hand. It is the setup of an application which tries to validate whether the OS is sufficient to run the application and not the application itself.
Reply
faulty.lee
Apr 19 2007, 10:06 AM
QUOTE(dhanesh @ Apr 19 2007, 02:16 PM)  2) For the DataAdapter, well i directly went to a textbox propertie and tried to do databinding from there. The DataAdapter got added automatically with 2 other things. Selected the Database etc and went through some screens. Added a forward and Back button to go through records just to test. But after successfull compilation and trying to hit next and back, i cant see the data in those boxes. Theres something to do with FILLING the dataset, but dont know how to do it here. Any help in this context would be great.
The reason i want 3.0 is that in my presentation, i mentioned that my software will be vista compatible (lol, big mistake .. got caught in the moment), so incase they try to run and check the compatibility on vista, then i have a problem in hand.
Regards Dhanesh. This one i'm a bit out, since i seldom use VS 2005, i'll leave this to some other's who is more familiar QUOTE(dhanesh @ Apr 19 2007, 02:16 PM)  The reason i want 3.0 is that in my presentation, i mentioned that my software will be vista compatible (lol, big mistake .. got caught in the moment), so incase they try to run and check the compatibility on vista, then i have a problem in hand. Like turbopowerdmaxsteel said, vista is backward compatible. So to be on the safe side, .Net 2.0 is more than enough. .Net 3.0 is just an extension to .Net 2.0, as mention in Microsoft's own website. Thus, there won't be any problem. Btw, .Net 3.0 only added the WinFX on top of what .Net 2.0 provide
Reply
dhanesh
Apr 19 2007, 05:45 PM
QUOTE(turbopowerdmaxsteel @ Apr 19 2007, 12:11 PM)  It is the setup of an application which tries to validate whether the OS is sufficient to run the application and not the application itself. No, Its just a clause i added in the presentation before i started developing the project. So the tension comes up when the faculty asks me for an explaination as to why and how my software is vista compatible. The application setup does not validate if the software can run on vista  I didnt have much of a knowledge in Framework 2.0/3.0, hence all that tension rising up. But if you say that an application developed in VB 2005 (Framework 2.0) works well on vista (vista compatible), then well my problem is solved. I just need to find the right explaination to give the auditors when they come to review the software by the end of the semester. Reading all those sites and tutorials are confusing me, and i still cant tend to find an explaination to give them as to why and how i said "Vista Compatible" in my project report. If you could give a small guideline on this, it would be helpful .. then later i can elaborate and detail that explaination. QUOTE(faulty.lee @ Apr 19 2007, 02:06 PM)  This one i'm a bit out, since i seldom use VS 2005, i'll leave this to some other's who is more familiar No problemo lee, u've helped quiet alot in solving my queries here  I went past through the problem of adding data from the database to the datagrid etc. My university still worships 2003 and the only 2005 related book i could find, helped me a great deal. Even if that ment sitting for 5 hrs just to understand how database connections are made in VB 2005 lol. Its just that i dont have all that time, and learning on my own is going to slow me down. QUOTE(faulty.lee @ Apr 19 2007, 02:06 PM)  Like turbopowerdmaxsteel said, vista is backward compatible. So to be on the safe side, .Net 2.0 is more than enough. .Net 3.0 is just an extension to .Net 2.0, as mention in Microsoft's own website. Thus, there won't be any problem. Btw, .Net 3.0 only added the WinFX on top of what .Net 2.0 provide This would help me explain why i wrote "vista compatible" in my presentation to the faculty. But as i mentioned earlier, it would be helpful if you could just explain a small paragraph in general on whats the difference between 3.0 and 2.0 and why i can use 2.0 to create vista compatible applications etc. I am a bad explainer, so hope you know what i mean. Just one line saying "vista compatible" made me go through all this trauma lol. Would appriciate any comments or suggestions on this topic. Thanks again, Regards Dhanesh.
Reply
faulty.lee
Apr 20 2007, 02:30 AM
I've quoted from here http://blog.ziffdavis.com/devlife/archive/...0/01/43487.aspxQUOTE The Framework
.NET 3.0 is.NET 2.0 plus the four new components. Those four core technologies are called the “.NET 3.0 Components“.
When you install .NET 3.0, it will put the .NET 2.0 framework and the .NET 3.0 components on your computer. If you already have .NET 2.0, then it will just add the 3.0 components. If you have Vista, it's all there already since those .NET 3.0 tools are a core part of Vista as well. Looking in your folders, you will see the .NET 2.0 stuff where you are used to seeing it - in Microsoft.NET\Framework\V2.0.50727. There will also be a Microsoft.NET\Framework\V3.0 folder that has just the four .NET 3.0 components in it.
Nothing in For the most part.NET 2.0 is not really changing. According to Scott Nonnenberg's comments (thanks Scott!), there will be Service Pack level fixes to .Net 2.0 components to avoid breaking changes. That's almost “nothing“, but it's still something.
This is another quote from Wikipedia http://en.wikipedia.org/wiki/.NET_FrameworkQUOTE .NET Framework 3.0, formerly called WinFX,[3] includes a new set of managed code APIs that are an integral part of Windows Vista and Windows Server "Longhorn" operating systems. It is also available for Windows XP SP2 and Windows Server 2003 as a download. There are no major architectural changes included with this release; .NET Framework 3.0 includes version 2.0 of the Common Language Runtime. The .NET 3.0 installer available from Microsoft checks to see if .NET 2.0 is already installed. If not, it installs it and then installs .NET 3.0 components. Otherwise it just installs .NET 3.0 components. This means that if you do not have .NET 2.0 installed, you do not need to install it; you can install .NET 3.0 straight away. .NET 1.1 and its service-pack, however, must be installed separately, preferably before installing .NET 3.0.
This is a quote from MS' site http://msdn2.microsoft.com/en-us/netframework/aa663314.aspxQUOTE Q: How does the .NET Framework 3.0 relate to the .NET Framework 2.0? A: The .NET Framework 3.0 is an additive release to the .NET Framework 2.0. The .NET Framework 3.0 adds four new technologies to the .NET Framework 2.0: Windows Presentation Foundation (WPF), Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), and Windows CardSpace. There are no changes to the version of the .NET Framework 2.0 components included in the .NET Framework 3.0. This means that the millions of developers who use .NET today can use the skills they already have to start building .NET Framework 3.0 applications. It also means that applications that run on the .NET Framework 2.0 today will continue to run on the .NET Framework 3.0.
Q: My organization went through the approval process of supporting the .NET Framework 2.0 in production. Do we need to go through the same process all over again for the .NET Framework 3.0? Do I need to do any application compatibility testing for my .NET Framework 2.0 applications? A: Because the .NET Framework 3.0 only adds new components to the .NET Framework 2.0 without changing any of the components released in the .NET Framework 2.0, the applications you've built on the .NET Framework 2.0 will not be affected. You don’t need to do any additional testing for your .NET Framework 2.0 applications when you install the .NET Framework 3.0.
Q: Will the name change be reflected in any of the existing .NET Framework 2.0 APIs, assemblies, or namespaces? A: There will be no changes to any of the existing .NET Framework 2.0 APIs, assemblies, or namespaces. The applications that you've built on .NET Framework 2.0 will continue to run on the .NET Framework 3.0 just as they have before.
Q: Which version of the Common Language Runtime (CLR) does the .NET Framework 3.0 use? The .NET Framework 3.0 uses the 2.0 version of the CLR. With this release, the overall developer platform version has been decoupled from the core CLR engine version. We expect the lower level components of the .NET Framework such as the engine to change less than higher level APIs, and this decoupling helps retain customers' investments in the technology. Basically, this means you just need to get a service pack for .Net 2.0, then you're vista ready (even better than vista compatible ;-))
Reply
turbopowerdmaxsteel
Apr 20 2007, 02:37 AM
QUOTE The application setup does not validate if the software can run on vista  It does my friend. The setup performs a lot of other validations including this one. I have seen many applications end up with "This OS is not supported" during installation. However, if you manage to get pass the validation or just use a copy of its program files directory from another machine, you wouldn't find a single hitch in its working. As an example, I could say the Cyberoam Client for 24Online software that connects me to the Internet. QUOTE This would help me explain why i wrote "vista compatible" in my presentation to the faculty. But as i mentioned earlier, it would be helpful if you could just explain a small paragraph in general on whats the difference between 3.0 and 2.0 and why i can use 2.0 to create vista compatible applications etc. I am a bad explainer, so hope you know what i mean. Just one line saying "vista compatible" made me go through all this trauma lol. Would appriciate any comments or suggestions on this topic.
When you say a vista compatible application, you are talking about an application that would work in harmony with the OS. It doesn't have to use every new feature that the OS adds. 3.0 ships in with a new set of APIs that are an integral part of Vista, so that you can make your applications use the new capabilities of the OS. QUOTE .NET Framework 3.0 consists of four major new components:
Windows Presentation Foundation (WPF), formerly code-named Avalon; a new user interface subsystem and API based on XML and vector graphics, which uses 3D computer graphics hardware and Direct3D technologies. See WPF SDK for developer articles and documentation on WPF. Windows Communication Foundation (WCF), formerly code-named Indigo; a service-oriented messaging system which allows programs to interoperate locally or remotely similar to web services. Windows Workflow Foundation (WF) allows for building of task automation and integrated transactions using workflows. Windows CardSpace (WCS), formerly code-named InfoCard; a software component which securely stores a person's digital identities and provides a unified interface for choosing the identity for a particular transaction, such as logging in to a website. Source: http://en.wikipedia.org/wiki/.NET_Framework
Reply
dhanesh
Apr 21 2007, 03:15 PM
Sorry for the late reply and thanks a million for those explainations and the websites. Was preparing the mid-sem report / presentation for the software so kinda got caught up in it. I used a few but not all points from the explainations you gave me, just so that my faculty can understand what i am doing, in a better technical way. If i may trouble you folks again, please keep your eyes peeled on this section for some random questions i may put through while developing my application. Once again thanks a million to turbopowerdmaxsteel and faulty.lee for helping me out in such a patient way  Regards Dhanesh.
Reply
Recent Queries:--
visual studio 2005 vista - 12.77 hr back. (1)
-
is vb 2005 compatible with vista - 32.99 hr back. (1)
-
is vb 2005 compatible for vista ? - 50.17 hr back. (1)
-
is ms visual studio 2005 compatible with vista - 156.43 hr back. (1)
-
transactions (update)through visual studio.net 2005 - 165.53 hr back. (1)
-
cyberoam.client 24online source.code -linux - 212.06 hr back. (1)
-
programming with microsoft visual basic 2005 test questions - 230.18 hr back. (1)
-
data adapter visual studio 2005 - 501.53 hr back. (1)
Similar Topics
Keywords : , visual, studio, net, 2005, questions
- Necklace Problem In Visual Basic
(3)
Delete A Registry Subkey And Key
Using Visual Basic 2005 Express (8) Hi, does anyone know how to delete a registry key/subkey using VB 2005 Express. Also, if any other
methods using VB, C#, C++, J#, post them as well.....
Visual Basic Projects: Scoreboard
Making a scoreboard with Visual Basic 6 (0) Hi again, I've done another visual basic tutorial in this forum on how to make a simple,
customized web browser. Now I am going to say how to make a scoreboard. To do so, open a Standard
EXE project in Visual Basic 6.0 and insert 6 labels and 2 command buttons. Change the captions on
these to: Label1: SCOREBOARD Label2: LIONS Label3: SWANS Label4: 0 Label5: 0 Label6: Waiting for
update... Command1: TOUCHDOWN Command2: TOUCHDOWN Once you are done, it shoud look like this.
Press F5 now to see it in action. It won't do anything, seeing as how there is no path ....
Installed Internet Explorer 7?, Visual Basic Now Broken?
(3) This quick guide shows you how to fix this error. Step 1): Go to your control list by right
clicking the toolbar underneat the default controls and clicking "Components" or by Pressing "CTRL +
T". Step 2): In the Components Box that pops up scroll down to "Microsoft Internet Controls",
click on it once so that it becomes highlighted. Now look at its "Location" it will say either
"C:\Windows\System32\ieframe.dll" or
"C:\Windows\System32\ieframe.dll\1". Step 3): Now you need to browse for the
correct file, so with the "Microsoft Inte....
A Few Questions
Please help (4) Hi everyone. I have a few questions about Visual Basic.Net. Its nothing complex, just a few problems
with syntax! 1. First, how do you change a labels text color? I have tried messing around with
forecolor etc but cant quite seem to get it right! 2. Also, Id like to put a return in a label
to use multiple lines of text. Something like from html 3. How do I include other classes? Do I
use inherit? 4. Lastly, how do I include math functions? Something like #include from CPP Thanks
in advance for the help!....
Vb .net 2005 Bindingnavigator Help
(7) As my earlier post mentioned about this small software i am trying to break my head with. Its a
simple task of typing values into the field and when the "ENTER" button is hit it should add the
values into the database and clear the text boxes and "Add a NEW row". This addition of new row is
done through the Add New (Plus) button on the Binding Navigator bar. I dont need to manually press
this button. I need to do the job of that plus button when i hit enter. This is my code. Sorry its
messed up with loads of comments but by time it was getting frustrating. I'd appri....
Visual Basic Express Tutorials
Need resources (5) I have just downloaded Microsoft Visual Basic Express 2005 and I need a tutorial to help me learn
how to create simple programs. I have already watched the 16 hour RSS Reader series from Microsoft
and I'm currently working on that. I also have developed a Web Browser and a weather tracker
system, from the help of Microsoft E-Books and other Microsoft resources. If you could find any
non-Microsoft resource on Visual Basic Express, that would be greatly appreciated.....
Is There A Free IDE For VB.NET Programming?
Needing info on a free VB.net IDE if avaliable (4) I know that VB.net is proprietry to Microsoft /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" /> but is there a free IDE that has all the support that VB.NET has? I
found one before but it just didnt support many of the things that VB.NET does such as timers which
was really annoying. Does anyone know of any IDEs like this that support the same functions and
features as VB.NET but without the rather hefty (Over priced, in my opinion) price tag? If anyone
does then drop me a PM or a reply! Thanks....
Visual Basic.NET Help Needed.
(7) I have a project to submit this wednesday, and i have to make it a working program. Not a big one ..
but just sumthing small that includes : Splitter, Progress Bar & Track Bar. I thought of making
sumthing like the picture below, I would enter the text and hit the button .. the text would come in
BOTH the labels. Then i move the track bar on the left to increase the font or/and the track bar on
the right to change the color ( RBG only 3 colors ). The progress bar at the bottom will show the
progress every time i move either of the track bars to a level. Nothing fanc....
New Features In Visual Studio 2005 Windows Forms
(1) i dunno if all of u are by now well versed with the new exciting features in visual studio 2005
forms, but for me this article was enlightening. for the benifit of others who wre in the dark like
me.... New Features in Visual Studio 2005 Windows Forms QUOTE The little voice in my head
shouted "Don't do it! Don't do it!" as I contemplated using the worn out cliché
"Good things come to those who wait" to describe the experience of designing Windows applications
with Visual Studio 2005. However, that cliché accurately communicates the idea that bui....
Visual Basic Names
Visual Basic Variabe Names (11) In Visual Basic, what is the difference between: ResourceName ResourceName$ ResourceName& ....
Visual Basic 6 + Crystal Reports 9
how to distribute (6) I have made a software with Visual Basic 6 and Crystal Reprots 9. Now I have to distribute it on the
client side but the problem is coming in distributing the Crystal Reports. I have tried Setup
Factory but it is not working. Then I have used Visual Studio Installer from Microsoft and
downloaded Crystal Report Merge Modules from Business Objects website. It is working properly but
now the setup file size is very big because it carries a lot of files with it. Is there any other
installer software which can automatically select the required files to be distribute with the ....
Visual Basic: Random Strings!
(10) This article will teach you how to get random strings for output to a label caption, or anywhere you
want it to go. 1. First we need to declare our string names: CODE Private
RndString(2) This declaration says there will be an array of strings called RndString,
and there will be 2 strings in that array. 2. Then, we need to create a function that will
generate a random number. CODE Private Function RandomNumber(rUpper As Integer, Optional
rLower As Integer) As Integer ' Generate random number between upper and lower bound values
....
Visual Basic: Change Your Start Button Text! (XP)
Windows XP ONLY (16) Personally, I love this program I made for myself. What the following code will allow you to do is
change the text of your start button (Duh). You can make it whatever you want, your name, a hobby,
or even do some extra programming and get it to randomly cycle through captions every 30 seconds or
so /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> . Here is all the code
you'll need: CODE Private Const WM_SETTEXT = &HC Private Const WM_GETTEXT = &HD Private
Declare Function FindWindow Lib "user32" Alias "FindWindowA" ....
Visual Basic: Unload Your Application Correctly!
(1) What many of us do not know is that using a button on a form with the function "Unload Form1" or
even clicking the X in the upper right corner is like pulling the plug out of your computer while it
is still on. It may not exit the program cleanly and efficiently, may leave background processes
running, or just give you unwanted errors by exiting improperly. All you need to do is unload all
components, forms, controls, etc. upon unloading. Say you have 2 forms in your project, 1
component, and 2 controls. If these ojects are placed onto a form, unload them properly&....
Visual Basic: Replace Explained!
(4) This tutorial will go over how to effectively use the Replace function in Visual Basic. 1. So
you have a string. Whether it be a label caption, an entry in a text box by the user of your
program, or an item in a combo box. Let's say this is a bad string, something you do not want
to appear. For instance, a user types "X is gay" in a text box, and you want to change that to
something else. You can simply have it be deleted, or replaced with another value. 2. To make
this work when a user types something in a textbox, you will need to use this sub: CODE ....
Visual Basic.NET Through Movies
(0) Hi all, I found a very good site at MS which offers 101 short movie clips to strenghten various
aspects of VB Programming and the IDE. Drastically cuts down on the learning curve. A very useful
site for beginners: QUOTE Welcome to VB at the Movies. The 101 short films below will provide
everybody from the beginner through the advanced developer with an opportunity to amp up their
Visual Basic skills. Grab your popcorn and soda, sit back and enjoy! Source:
http://msdn.microsoft.com/vbasic/atthemovies/default.aspx If you missed the link above, here
it is....
Visual Basic Help
need help useing visual basic (7) i was just wondering, when you are useing the program Visual Basic is there any way to add some
animation to a form, and if so what is a good(cheep) animation program i could get?....
[visual Basic] How To Confirm A Array Is Null
(6) for example, Dim array() as integer during run time, how to confirm a array is null (do not
contain any element) Thanks....
Visual Basic - make Standard dlls in VB
written entierly by me (1) if you want to know how to make dlls in visual basic, download my submission to
planet-source-code.com: http://www.planet-source-code.com/vb/scrip...=54190&lngWId=1 Quoting
what i said on the submission: QUOTE This code will allow you to make your very own stdcall DLL
files using Visual Basic. The DLLs that you create can be called from any programming language that
supports stdcall DLLs. Just create or open a project with the functions that you want to export,
choose the functions to export and click compile! Create your own DLLs that you can call from
any ....
Looking for , visual, studio, net, 2005, questions
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for , visual, studio, net, 2005, questions
|
advertisement
|
|