-
- Upgrade from VB6 to VB.Net - Correct type conversion for GetFileVersionInfoA and lpData?
by SL-USA
- 8 Replies
- Last post
by SL-USA
- We're upgrading a VB6 app to VB.Net and following the recommended MS methodology of running the Code Advisor tool before running the Upgrade Wizard, and fixing issues in VB6 first. We have several WinAPIs which use "As Any" and cannot clearly find any information on how to convert these so 1) the App will run under VB6 and 2) the Upgrade Wizard will convert it correctly.
I'm looking
-
- Date and Time Format Problem
by lucerias
- 14 Replies
- Last post
by Dick Donny
- Question one
May i know is there any time picker in VB.NET 2005 which allows user to enter a time The DateTimePicker can only retrieve current time and i think of using few combo boxes to form the format like hour,sec and AM or PM. Apart from that, is there any other way of doing it If i use the combo boxes method, how to parse the concatenation string as time and store in database
&nbs
-
- Binding labels to a datagrid
by nascarnick
- 8 Replies
- Last post
by nathbrooky
- I dont know if the title of this topic is correct. I was trying to make it as technical as possible.
I have a datagridview filled with MySQL data. I have a few labels above the grid that i want to show the data that is in the grid. So i need to know how to change the data in the labels depending on which row you select in the grid view. I know how to get the data in the labels just not how
-
- How to assign array into array !!! Y Y
by Silver_Cz
- 6 Replies
- Last post
by element109
- I've a problem when i assign array into another array. Actually, i assign array that i've got from function into another array with another new value = = . Here is my code Dim result() As String result = {test("123"),"hi"} ' This function will return 8 string of array But there is as error "expression expected" I'm still confused now. Thx a lot for you help ^^
-
- FTP File Upload
by McWhirter
- 3 Replies
- Last post
by McWhirter
- Not sure if this is the right place but...
I have a piece of code that enables me to upload a file to a ftp server, using the ftpwebrequest .net 2.0
This is working ok, but i would like to be able to process each ftp server response as it is received and log it to a file
Ie, i want to write a log line when
Server is connected To
User Logs in, password is requested
-
- Unable to find manifest signing certificate in the certificate store.
by Szwartek
- 2 Replies
- Last post
by Szwartek
- Hi,
I've got an error: "Unable to find manifest signing certificate in the certificate store" and have no idea what to do to r epair that. Does anybody know
-
- simple question
by CooperHawk
- 1 Replies
- Last post
by Rykler
- Theres a bunch of stuff here about randomizing, but to put it in simple terms, how do i code a random number between 1 and 10
-
- volume
by HitmanPL
- 6 Replies
- Last post
by ~DigBoy~
- I've been searching for a while now and when beggining this I thought it would be simple to do. All I am trying to do is mute the volume of windows media player through code. If anyone could help me with muting system volume, or a process volume that would be great. Thanks. (Why can't it be a simple "system.volume = 0" lol. wouldnt life be good.
-
- VB and Outlook Contacts
by FredQwerty
- 3 Replies
- Last post
by Riquel Dong ¨C MSFT
- I am trying to import, or copy, the contacts from Outlook into a SQL database using Visual Basic 2005 Express. I do know how to do it using Access VB, but I want it to look professional. Thanks all.
Fred.
-
- How to use setup parameters when installing SQLEXPRESS with the bootstrapper
by phowatt
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I am building a deployment package for my VB application in Visual Studio 2005 and I am using a setup project for the deployment package. The application requires a SQL database so I am using the prerequisite capability in the setup project to install any prerequisites including SQL Express. I need to be able to have SQL Express installed with mixed mode authentication. How can I select this setup
-
- E-mail
by Eslam Afifi
- 7 Replies
- Last post
by Aw Ali
- Hi,
I'm having a problem that I want to send a feedback and the log file from a windows application.
I tried to use System.Net.Mail but it didn't work.
Dim client As New Net.Mail.SmtpClient( " www.hotmail.com " )
client.Send(message)
Please, tell me how to send an e-mail using any e-mail address as a sender. Or any other way to do the task.
Note: I
-
- The process cannot access the file during System.IO.File.Delete(filename)
by wilsoneden
- 7 Replies
- Last post
by subba
- I encountered the error: The process cannot access the file <full file path> because it is being used by another process. during System.IO.File.Delete(filename) I have opened the file using: pctPhoto.Image = Image.FromFile(filename) before I delete the file. Please advice. Thnx.
-
- Password Protecting areas of a Application
by Anonymous575172
- 7 Replies
- Last post
by MS Johan Stenberg
- I need to use a database to log activity on an application, as each user of the program needs to log in/out, and different levels of user need to access different levels of the program.
I am using Visual Studio 2005 Express, programming in VB. I can see how do add the database into the app., but little else.
Thank You
Regards
R. Mc.
-
- Help! Tabbing through controls not working.
by rmiller
- 4 Replies
- Last post
by rmiller
- I've got a vb6 dll i reference in my .net app which contains forms that i need to load now and again. The problem i origianlly had was that i couldn't show these forms the old way (aForm.Show). I kept getting an error stating that modeless forms could not be loaded. Using "aForm.Show vbModal" gets rid of the error, but then doesn't allow the user to get back to the main application till
-
- sum of table colomn to a label
by xion.truth
- 6 Replies
- Last post
by Joshua Morgan
- i am trying to do the following
pseudo code
'search the database in table accountInput
'get the sum of all records for collomn acct1 where usr = michael
'show the sum in form home on label1
'if no records in usr = michael then set the label1 to 0
can anyone please help. the following code is how i am accessing the database
Dim constr As String = "Provider=Micro
-
- Changing label text and colors
by bwc0840521273
- 5 Replies
- Last post
by bwc0840
- Question from a newbie to the VB world.
I am writing a simple program to read a database table, manipulate data based on user selection, and then write the data to a text file. I am wanting to provide feedback to the users for status. I have a label that, when the form loads, is defaulted to "Idle". When the user clicks the Create File button, I want to change the background color of
-
- Visual Basic.NET 2005 - OutOfMemoryException
by HKNet
- 7 Replies
- Last post
by HKNet
- I have a high speed equipment test application running in VB2005 and Framework 2.0. I have this application running in a PC with 2GB RAM.
I get System.OutOfMemoryException very often on this application. As everyone must be aware the application stops and has to be restarted. I have seen in web searches about a Microsoft HOTFIX for this issue, and some other reports that there is really no
-
- Save Form.Contols to file
by MorganDeVries
- 6 Replies
- Last post
by MorganDeVries
- Hello, i've made a little project with VB 2005, but i want to know if it's possible to save all controls from a form to a file, like the title, size, all buttons, labels etc that exist in a specific form, and how to load them again from that file. I've looked on internet for 3 months now, but i cant find any information. Can someone help me an example would be nice too tnx,
-
- DbType
by Rufen101
- 4 Replies
- Last post
by Rufen101
- I'm trying to pass a very large string to Sql Server. The string is longer than 8000 characters which means that the parameter is of type Text in Sql Server. Using SqlDbType.Text would be ok, but i'm using Enterprise Library to interface with the database and the AddInParameter expects a DbType not and SqlDbType. I have yet to find the equivalent of SqlDbType.Text in DbType enumeration. Anyone kno
-
- populating a dataset and paasing it back to the calling method
by busyme
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- I have a .dll that populates a dataset from a fill command and then passes that dataset to a program that called the dll.
How to I extract the information from the passed dataset if I need to update its records
Thanks
-
- Sending parameters to a windows service
by steve1_rm
- 3 Replies
- Last post
by Feng Chen - MSFT
- Hello, [VS 2005] I have a windows service and a windows application. The windows service is used to send e-mails. This part is ok. However, I need the windows application to send the e-mail details to the windows service. What is the best way to do this Many thanks for your ideas, Steve
-
- Using SortedList from VB6
by KlausWiesel
- 8 Replies
- Last post
by KlausWiesel
- Hello I have this code, which adds files in a listbox Dim fso As Scripting.FileSystemObject Set fso = New Scripting.FileSystemObject Dim f As Scripting.Folder Set f = fso.GetFolder("c:\windows\system32") Dim sa As mscorlib.SortedList Set sa = New SortedList Dim fi As Scripting.File For Each fi In f.Files sa.Add fi.Name, fi.Size Next Dim i As Integer For i = 0 To sa.Co
-
- Publishing a Windows Application
by eXodus0426
- 4 Replies
- Last post
by bullpit
- After I have published my program I don't know where it installs at, what it does with the icon I want it to use or anything like that. Can someone point me in the direction of a good tutorial on publishing windows application for VB 2005 Express That would be appreciated. Thank you!
-
- My SQL Update function isn't working in VB, can someone help?
by smoothdogg00
- 10 Replies
- Last post
by smoothdogg00
- My SQL statements are perfectly fine when I test them in the Query
Builder, but I can not, for the life of me, figure out why they won't
work in my application.
Here is what I have as my SQL statement within my UpdateQuery function:
UPDATE members
SET id = @id, first_name = @first_name, last_name =
@last_name, phone_number = @phone_number, date_joined = @date_joined
WHER
-
- Newbie question about Inheritance in custom controls
by EMoscosoCam
- 1 Replies
- Last post
by Derek Smyth
- Hello
All my custom controls in a solution must have the following data member and property:
Code Snippet
Private m_strCadenaDeConexion As String
Public WriteOnly Property CadenaDeConexion () As String
Set ( ByVal strCadenaDeConexion As String )
m_strCadenaDeConexion = strCadenaDeConexion
End Set
End Property