|
IMHO, ADO would be the much more preferred method when using databases, fullstop.
HTG
|
|
|
|
|
DAO died a long time ago. Even the latest version (3.6 I believe) won't work with an Access 2003 database. You'll either have to go back to Access 97, or 2000 (I think!), or you'll have to switch to ADO if you want to use Access 2003.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks for ur reply.
It means there is no way to connect access 2003 using DAO. I have to go for ADO.
Thanks
Manish
|
|
|
|
|
Hi,
I have a window form call Form1. I want to create a button that can open calculator in form1. after i open the calculator, it will disable the form1. when i close th calculator, it will enabled form1 back.
My problem is i cant disable the form1...anyone know the solution pls help..
process.start("calc.exe")
i use this code to open the calculator.
|
|
|
|
|
Your code should look something like this:
Dim devenvProccess As Process = New Process()
devenvProccess.StartInfo.FileName = "calc.exe"
devenvProccess.Start()
Me.Enabled = False
devenvProccess.WaitForExit()
Me.Enabled = True
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi,
Thanks
|
|
|
|
|
Hello everyone,
I am building a new application where my webservices are in PHP and my client application is in .NET. Now more often then not I need to exchange data between the client and the server and some of the data is personal and sensitive. I would like to use some form of encryptiong preferably AES or Rijndael. But the encryption schemes seem to operate differently i both environments. I use .NET 2.0 and PHP 4.3. I tried using the same key and the same plaintext on both the sides but I end up with different encrypted data and neither side decrypts the data generated correctly. Please advise on how I should proceed further...
Thanks In Advance
With Regards
Cipher
Phrozen - 4 - LiFe
|
|
|
|
|
i try to build a CD interface application which combine VB.net and flash, i need to embbed the flash player (flash.ocx) into my application pack so that my application won't depends on the type of flash player installed in the current computer, moreover, my application will able to run, even when there is no flash player instaled,..
any idea about how, thanks for support,..
tears,..
tears
|
|
|
|
|
In the older versions you used to be able to put a * in the version number and the compile action would fill in that number for you.
2005 seems to not allow * in the project properties window anymore. Any ideas?
|
|
|
|
|
You can only put the wildcard in the Build Number (3rd), or Revision (last) position of the Assembly Version.
If you doing this in the My Project Properties, Application Tab, Assembly Information button, you can specify a wildcard for the Build Number by putting an asterisk in the 3rd box for the Assembly Version and clearing the contents of the 4th box. The 4th box MUST be blank for this to work.
Also , when building components or class libraries, it's better to specify the complete Assembly version instead of letting the compiler "fill in the blanks". This is because if you go back and change your component, it will get a new assmebly version number. Default version policy says that an assembly will only work with the components of the version that it was built with. Meaning if you change the version number of one of an applcations components, you either have to rebuild the assemblies that use it to update the the version number that they're expecting, or create a new version policy in the applications config file to override which version the app will look for.
Go to MSDN and search for "AssemblyVersionAttribute Class" for more information.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks. I understand about the versioning scheme and how it behaves. It make sense.
What I don't understand as why MS changed what they had before.
I used to be able to just set the revision (4th place) to a * and have things the way I wanted them. This gave me some kind of way to make a determination between individual builds out in the field. Now, from what it sounds like, to do this I need to actually care about how many times I hit the damn build button.
UGH!
|
|
|
|
|
Ray Cassick wrote: What I don't understand as why MS changed what they had before.
They didn't, really. You can put the wildcard in either the 3rd or 4th place. You just can't have anything after it. So long as it shows up in the assembly.vb code as 1.0.* or 1.0.0.* , it'll work.
I personally never use auto incrementing numbers. Not ever for Build Number, since this is a random number anyway and not the actual number of times the assembly has been built.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: You can put the wildcard in either the 3rd or 4th place
Are you sure about that? When I open up my project properties, go into the Assembly Information window and try to change the last section of my version number form 0 to * I get a dialog box that tells me:
"Assembly File Version: A wildcard ("*") is not allowed in this field."
|
|
|
|
|
Yeah, I tried it myself to verify before posting. You can use a wildcard in only the 3rd or 4th position of the Assembly Version number. You cannot use the wildcard in the File Version number at all.
The only issue I found was that if the wildcard is placed in the 3rd position of the Assembly Version, the 4th position MUST be blank.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I need to know is there is a control that make automatic resize and positioning the control on the form, for example i have 3 texbox, and 3 command button in a form when i click on resize (maximize or minimize) the control position and gruop up like this example in C++ http://www.codeproject.com/useritems/SizingDialog.asp or if there is another method to do it.
Magno R. Vasquez
|
|
|
|
|
|
Hi Guys, I'm totaly new to VB.Net 2005
I'm trying to make application, now i have 3 panels on Main form.
My problem is...is there any way i can move those 3 panel to separate forms and i can call them when i press button?
Basically on panel1 i have 3 textbox and one button, same for panel2 and panel3
panel1 is for a+b=c whe i press button
panel2 is for a-b=c whe i press button
panel3 is for a/b=c whe i press button
Main form one panel and three buttons.
If anyone understand my proble please reply me.
Thanks
[Sorry for bad english]
|
|
|
|
|
Hi, users! Please, tell me, how to use API function CopyMemory!
For example, how to read memory address F000:FFF5
contained 8 bytes?
After this code VB IDE will be closed with error!
CopyMemory MyVar, &FFFF5, &8
This snippet I was see at one of VB sites.
Mihei89
|
|
|
|
|
|
My first question would be what are you trying to do with it?
Since the proc is switched to 32-bit flat addressing, the segment and offset address you specified doesn't have any meaning. Also, you can't just read any memory you want from anywhere. Various areas are protected, such as the kernel. And, each process get's it's own address space, essentially making it think it's the only one running on the system.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
Hello friends,
How to find datagrid keypress event. i have set readonly for datagrid.
Any idea?
Thanks,
Ganesan.
|
|
|
|
|
Hi All,
I am developing a single project application using VB.Net. I have added a “resx” file to the same project. But I don’t know how to create instance of that file. One of my friend has told me that I can create instance using Resources.ResourceManager. But I don’t know how to use it. Can anybody help me in this regard.
Regards,
Krishnaraj
|
|
|
|
|
|
thanks buddy.... but i am very sad that i did not get answer..
|
|
|
|