-
- VB.NET and Databases
by Ori Lahav
- 7 Replies
- Last post
by Ori Lahav
- Hello. I'm working on a project that uses a very big database. How can I connect a database from VB.NET (for reading and changing data) The most important thing is that I need it to be the fastest as possible. Speed is critical in my case. Thanks, Ori Lahav.
-
- problem creating mailbox
by rubenswise
- 2 Replies
- Last post
by Makarand Kulkarni
- Hi. i've some problems creating exchange mailboxes for users... i use this simple code shown below : string primaryMailAddress = <user primary address>; string[] secondaryMailAddresses = <user secondary addresses>; new string[secondaryMailAddresses.Length + 1]; IMailboxStore mailbox; IMailRecipient recpt; //bind user from AD DirectoryEntry DE = new DirectoryEntry(<ADPath>
-
- TXT search with multiple terms
by SkiesOfBordom
- 4 Replies
- Last post
by SkiesOfBordom
- I am trying to do multible searches within "server.cfg" (which is same as txt) and pick out specific strings (for example "hostname ") and import them into seperate textboxes. here is the code i am using; but all it does is get the first search and stick it in the 1st and 2nd textbox; not 1st term goes in 1st box, 2nd term goes in 2nd box.
Private Sub bload_Click( ByVal
-
- How do I distinguish between LShift and RShift keys.
by BLeRg
- 7 Replies
- Last post
by Tall Dude
- In TASM I would simply check the BIOS Shift Flags and Extended Shift Flags. There are an LShiftKey And RShiftKey, but Control.Keys only returns the "BIOS Shift Flags" without the Extended Shift Flags. I would like it if my program could keep all its functionality as I "translate" it from assembly.
Thanks.
-
- Linking textbox outputs in different forms
by Shananogans
- 4 Replies
- Last post
by Shananogans
- My program has integer values that multiply when buttons are clicked. I can output the answers to the textbox on the same form, but can not figure out how to output the variables in a textbox on a different form. Thank you
-
- pringscreen keystroke help plz,
by Kccc
- 2 Replies
- Last post
by Tall Dude
- so far i have this code, Dim sKeys As String = "{PRTSC}" SendKeys.SendWait(sKeys) and after it takes the screen shot i want it to save it to the desktop as a gif image how can i acheve this
-
- Oh... no
by Sword
- 14 Replies
- Last post
by Sword
- I've installed VC++ EE 2005 a long while ago. It gives me problems with any name like "HelloWorld" (I did not use quotes) and the problem is on VWD too--but only after installing it. Can anyone help me
-
- Moving a single list view item down the list.
by Kripz
- 1 Replies
- Last post
by Andreas Johansson
- I'm having trouble getting this to work properly. If there are more than 4 items in the list then "fileList.Items[current + 1].Selected = true;" doesnt work. It will actually do something more like this: "fileList.Items[current + 3].Selected = true;". The item will move down correctly (from what i can see). Im not sure if i am moving the items properly so if anyone could provid
-
- .lib files
by connexion2000
- 1 Replies
- Last post
by orcmid
- Hi! As I know, when building .DLL also .LIB file is created. When I want to use this .DLL, I need to add .LIB file to final project. Is there any way to get rid of .LIB file and make this .DLL usable, without .LIB I am trying to import this .DLL to python with ctypes, but it doesn't want to execute the function inside DLL, because it can't find it. Please help
-
- Resources
by _Nightblade_
- 7 Replies
- Last post
by _Nightblade_
- Hello
I want to use differant folders in my resources.
In my project / resource i can't find a option
to make a folder. now i have a compleet mess
pictures
+
icon's
+
samples
How can i make a folder for each one with the same names
Regards
Nightblade
-
- Clipboard Help
by djshades2004
- 14 Replies
- Last post
by ReneeC
- Hello all, good morning :)
need some help with this one please:
I have 6 textboxes on my form.
I need to assign each textbox with a shorcut key (eg. alt + 1, atl+2 etc..) and then copy the contents to the clipboard.
I take it that I would have to put the code in a timer event & would the shorcut keys still work even if the form is not displayed on the screen
Thanks, Stuart
-
- BalloonTipText on NotifyIcon1 Hover over?
by Blake81
- 14 Replies
- Last post
by Blake81
- I've been looking at how to use BalloonTipText, and I found this small section of code:
NotifyIcon1.BalloonTipTitle = "Balloon Tip Title"
NotifyIcon1.BalloonTipText = "Balloon Tip Text."
NotifyIcon1.BalloonTipIcon = ToolTipIcon.Error
That isn't working for me though, in the test app I made to try it out. I put it in the NotifyIcon1_Click event and nothing showed
-
- Paint Event and Drawing Text
by Nate879
- 4 Replies
- Last post
by Chris Dunaway
- Hello. I can't get the application to display text as a graphic when I want it to! It works when the application is started, but it needs to work later. I just use the code snippet for displaying text.
-
- Run Dialog
by Omnicoder
- 5 Replies
- Last post
by bdbodger
- How do I display the Windows Run Dialog(The one you get when you hit Winkey+r)
I found a sample written in vb6 but it woundt run because some of the datatypes it needs dont have a vb alternitave.
If anyone could give me a example off how to display it or a .net dll to call it from, it would be a big help.
-
- [OTP]how do I automatically enter the address in the To:box from my Address Book?
by morin
- 1 Replies
- Last post
by DMan1
- It seems that I could do this without having to go back and forth or using a pencil.....my ex used to do all this stuff for me and would never show me easy tips...it helped lead to a divorce.
-
- Custom shaped Form?
by stallion_alpa
- 12 Replies
- Last post
by stallion_alpa
- I'm wondering is it possible to have a form that isn't a square I want to have a form with a menu sticking off the side, so that it would stick out. Is this possible
-
- connection to sql server
by bernardo roitman
- 1 Replies
- Last post
by Christian Liensberger - MSP
- I HAVE THE VISUAL BASIC 2005 AND THE SQL SERVER 2005 ON MY COMPUTER.I WORKING WITH A CODE DOWNLOADED FROM MICROSOFT.I CAN NEVER MAKE A CONNECTION WITH THE DATABASE. I ALWAYS GET A MESSAGE:CONNECTING TO DATABASE AND A MESSAGE:ERROR 40,CANNOT CONNECT TO DATABASE.HOW CAN I SOLVE THE PROBLEM
-
- convert to 8.3 filename
by Omnicoder
- 9 Replies
- Last post
by Omnicoder
- how do i convert a path to a 8.3 filename. I am trying to make a file properties program that is usable via right click menu, but I get a illegal charecters in path error while reading the attributes and I think it is because of spaces. Does anyone know how to convert a filanme to 8.3 (Yes, I do realize this means users will need 8.3 turned on)
-
- Set System Date & Time
by GlennZarb
- 2 Replies
- Last post
by spotty
- How can I through Vb.net change the date of my PC
-
- Code for Searc Button on Menu Strip
by mrholtsr
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I am trying to put a search control on a dataset imported from Access. It is a database of my personal library and I would like to perform searches for titles or author. Could someone let me know the necessary code. Thanks, Ray Holt
-
- creating .exe program
by anilpatel32
- 14 Replies
- Last post
by Carsten Kanstrup
- i have created a software in VB but when i publish it in my desktop to get the setup file its in application-manifest format and not exe
how can i make the program a exe program
-
- An unusual array problem (that makes me cry in despair)
by Little Smithy
- 5 Replies
- Last post
by ReneeC
- Hello Community, meet my infuriating problem:
Dim ItemList() As String
ItemList(0) = "Test"
Nothing wrong with that, is there This is in a sub, what's so hard about that
The point is, underneath ItemList(0) there is a squiggly green 'warning' line that informs me it's being used before I assign it a value (which I think is what I am doing), but the compu
-
- How To Bind .dll with MyProject.exe ?
by killer7k
- 10 Replies
- Last post
by killer7k
- Hi To all , I Want To Bind The Dll inside the project that have used into the .exe I Want To Get only .exe that contains the dll and the project Thanks
-
- Internet Restrictor
by kumarangopi
- 2 Replies
- Last post
by danp129
- Dim objShellWins As SHDocVw.ShellWindows
Dim objIE As SHDocVw.InternetExplorer Dim buf As String * 1024 Dim title As String Dim length As Long Dim txt As String
Dim objDoc As Object Dim i As Integer Dim strOut As String Dim intFree As Integer Set objShellWins = New SHDocVw.ShellWindows
' If objIE.LocationURL <> " http://www.physician-to-go.net/ " Then ' objIE.Navigate2 (&
-
- error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [32]' to 'LPCWSTR'
by MLCC
- 2 Replies
- Last post
by vikke
- I have searched through these forums, and other forums and cant find the answer to this problem:
error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [32]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Here is the code for this project:
#include <windows.h>
int WIN