-
- get server time through LAN
by Prathap
- 9 Replies
- Last post
by Prathap
- hello forum friends,
can any one please tell me how to get server time
through LAN in C#.NET window application.
Regards
Prathap
-
- interface for existing "console" database interface
by Newbie Tan
- 1 Replies
- Last post
by Bite Qiu - MSFT
- hi, im not a very experienced c++ user, particularly in interface writing. im writing a GUI (windows application) for an existing program that already has a command prompt interface in int main(). the program is actually a relational database system that works inline with IBM DB2, the main contains all the initialisations and necessary functions.
int main(int argc, char *argv[]) {
-
- How to load an image, draw on it with mouse like in paint prog and then save?
by Apple123
- 10 Replies
- Last post
by Apple123
- I have been reading this forum for the past few days. What i need is during run-time, to allow user to load an image, using his mouse to draw on it exactly like what he can do in paint programme.... a bit of scribble here and there and finally to save the completed picture. So far after much searching around, I'd only manage to find the closest match with the following code, however, it only draw
-
- Timeout Expired Error
by IrishWolf
- 5 Replies
- Last post
by IrishWolf
- Help!
I've built a program with a data base, The 1st time I run it I receive a "Timeout Expired" error, The second time I do not get the error, the same thing happens when I deplopy to other machines.
I've read all the post suggesting changing the CommandTimeOut = 0. My question is how do I code this into my program.
I try this, came from the msdn site, didn't work.
Public S
-
- Downloading & Installing 'Microsoft Platform SDK (R2) Installation'
by John PP
- 4 Replies
- Last post
by SMcCarthy
- After downloading this and getting some way into the installation process, the following error is displayed "Error 1606. Could not access network location.
http://download.microsoft.com/download/F/A/D/FAD9EFDE-8627-4E7A-8812-C351
BA099151/PSDK-AMD64_common.0.cab
and this is despite the fact that I selected the x86 version.
I tried the 'retry' button but the error comes back. I
-
- trying to place a graphic on top of an image
by kennm
- 4 Replies
- Last post
by kennm
- Hi,
I'm trying to place a graphic on top of an image using the following with no luck. Can anyone help
If AnalogValue >= 100 Then
PictureBox4.SendToBack()
formgraphics.FillRectangle(Brushes.Red, 430, 200, 10, 5)
-
- Help,Start Button Thing
by Puntor
- 8 Replies
- Last post
by Puntor
- Well,i recently "edited" explorer.exe and changed my start menu text,and (im 14) everyone at school wanted one...so...i need help,i already have a code,but it wont work,Just in Case,the program is supposed to display an input box with a max of 5 chars,and when you ok the input box,it will change the text of the start(instead of start,something else) i do have a code,but it simply will not wo
-
- How to count the number of CheckBoxes Checked
by Learning VB
- 14 Replies
- Last post
by Learning VB
- Is there a way to count the number checkboxes that have been checked on a form and when a certain number as been reached disable any remaining checkboxes
Regards
LVB
-
- VB2005 vs. Express edition
by Dan Ørum
- 3 Replies
- Last post
by Dan Orum
- Hi all.
Is there any major difference between VB2005 and the VB2005 Express edition
The
reason I ask, is that I have not been programming since VB6, some 8-10
years ago. Now I'm taken up programming again. A friend told me to
skip right past VB.Net and go directly to VB 2005 Express. So now I
am programming in VB2005 Exp. and I am looking for a reference Book for
this edition of the VB-
-
- Big Buttons in BindingNavigator
by abasilis
- 6 Replies
- Last post
by _Nightblade_
- I was Trying to resize the BindingNavigator in the properties Size to make the buttons bigger but when I run the project the BindingNavigator go back to it's original size.
If I try to do it with the mouse, it go back to it's original size too.
Or there is another way to make a Buttons menu look like the BindingNavigator
Another Question is where in the properties or anoth
-
- Receiving the registration key webpage to activate VS Web Developer Express Edition
by rockyroad12
- 1 Replies
- Last post
by Andreas Johansson
- I downloaded the Web Developer 2005 Express as an image file and installed it on my computer and when I went to register it the webpage and it said that the product was registered but I did not receive a registration key. Did I do something wrong in the process
G. F.
-
- Help with Data Units
by Decimator
- 2 Replies
- Last post
by Decimator
- Hi, I am building a VB project for some school work, and have got to end, and got stuck with some errors that it is throwing me. Please can someone tell me what the following means: (The last four procedures is where i am getting the Build Error) Private Sub cmdCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCalculate.Click txtDayTotal.Text = Format(Val(txtD
-
- Object Null Reference
by DJSTU
- 14 Replies
- Last post
by DJSTU
- I keep getting problems with listview controls sometimes it runs fine sometimes it dont, the line ive highlighted below in yellow is the line that sometimes causes the exception, hopefully someone could explain.
Code Block
Public Sub loadplayer1()
If Mainform.player1.playState = WMPLib.WMPPlayState.wmppsPlaying Then
MsgBox( "Player Currently Active" , Msg
-
- Connecting to visual foxpro database
by John the Newbie
- 5 Replies
- Last post
by John the Newbie
- I am new to visual basic 2005 express. I am trying to access a visual foxpro database using visual basic. I have seen an earlier post relating to this and have tried to use the code but I get errors.
The code is:
Public Class Class2
Public Sub ConnectToFoxProOLEDB()
Dim OleDbConnection As System.Data.OleDb.OleDbConnection
Dim FoxProReader As System.Data.Ole
-
- How do i make pong controls???
by Midnightfoxkrissy
- 2 Replies
- Last post
by js06
- pong,i just need to know how to make the controls...i've got the pictures and everything...I also need to know how to make the AI...please help...
-
- Adding Source Files with Environment Variables.
by Skavenger
- 0 Replies
- Last post
by Skavenger
- Hello, I was just wondering if it was possible to add source files by specifying it using either an Environment variable or a "User Macro" This was possible in 2003, but doesn't seem to work in 2005. I.e. Source file is in c:\myfolder\test\test.cpp The Env Variable $(MyFolder) is set to c:\myfolder\test and I want to specify it in the project using $(MyFolder)\test.cpp TIA. - Skav
-
- New user problems in Visual basic 2005 express edition
by Bribar
- 9 Replies
- Last post
by Solitaire
- I am a new user and I have a problem on the first (very simple) program that I tried. An error box shows up (after I debug) that says that there are build errors, would you like to continue and run last successful build (I indicate yes) and then another error box pops up that reads - unable to start program'c:\documents and settings\barker\my documents\visual studio 2005\projects\first\debug\first
-
- Check Database for category name
by dustinto
- 6 Replies
- Last post
by dustinto
- I am trying to figure out how I can make an if then that will check to see what the name of the category is inside my database. if categoryname = "cat name1" Then something will happen End IF
-
- Visual C++ 2005 Express Crash on compiling DLL library
by Richard128
- 11 Replies
- Last post
by orcmid
- Help Please!
Downloaded the recent Microsoft patches, and can no longer compile Dll libraries within VC8 C++ Express.
Just changing the "Configuration Type" in the "General Settings" between static to dynamic library for an empty project and then building replicates the crash issue.
Errors shown are:
"Runtime Error! VCExpress.exe" error box, and the error message contains:
Microso
-
- focus onto another window??
by Ben Sprinkle
- 7 Replies
- Last post
by Ben Sprinkle
- I have an app, can anyone tell me the code to get that process by name and then focus onto it (meaning bring it to current window or front)
-
- Help - Unable to add new data into the database from form
by PatMan
- 2 Replies
- Last post
by PatMan
- I have been following the introductory videos provided and now in lesson 9. I followed the video, however, I am unable to add new data into the database. It shows the new data in the form when I add it, and adds that to the DataSet (in memory). The modified DataSet is not updated in the Database. Any help would be highly appreciated. with kind regards, PatMan
-
- HELP! VB2005 execute winrar or winzip for compress folder
by googol
- 4 Replies
- Last post
by bdbodger
- Hi!
I search but i don¡¯t have exit for my problem.
In Visual Basic 2005 , I want call and execute the external application Winrar or Winrzip for compress a folder with a lot of archives (of the same form lije when you make click on a folder with the right button of the mouse and you choose "Add to namearchive.rar").
Thanks
-
- get file name
by OM$
- 2 Replies
- Last post
by OM$
- Hi all,
I am very new to C#.
I have a folder containing files that need to be attached in a table. I would like to get the file name of the files under the folder. is there anyway to do that
e.g.,
C:\FilePath\FileName1.jpeg
C:\FilePath\FileName2.jpeg
C:\FilePath\FileName3.jpeg
C:\FilePath\FileName4.jpeg
Thanks in advance!
-
- PSDK linker error: LNK1104: cannot open file 'mfc42d.lib'
by David Hanzelka
- 5 Replies
- Last post
by Bite Qiu - MSFT
- Hello,
I¡¯m not able to compile the example project ¡¯daoview¡¯ from MSDN. I¡¯ve installed the PSDK for x86, set the proper dependencies and directories, but I¡¯m still getting this error message during linking:
LINK : fatal error LNK1104: cannot open file 'mfc42d.lib'
There are existing two instances of this file, but in ¡¯wrong¡¯ directories: ...\Lib\AMD64\atlmfc and in ...\Lib\IA64\mfc. When
-
- How do i figure out what my connection string is?//why doesnt ide like this?
by vhFlores
- 6 Replies
- Last post
by Trucker
- How do i figure out what my connection string is
i think i saw something like 'connection string' before, i just took the default.
but now i need to know what the name of my connection string is, but i have no idea !!!
how do i find out
It is now 5:30 pm Saturday in New York. . . .
Lets see how long it takes me to figure this out: