How To Change Those Code From Vb6 To Vb2008
Sep 18, 2010
In vb6,I wrote those code: statusbar1.text=Inet1.Open[URL]
In vb2008,it had statusbar,but it hadn't "Inet",I don't know how to change those code. ps:I'm a beginner,maybe this problem it's not a big problem,but I really don't know how to solution this problem,
View 7 Replies
ADVERTISEMENT
Oct 21, 2009
int CApp20Dlg::Read_LB(int lb_id, CStringArray* pOutput)
{
CListBox* pLB = (CListBox*) Get_Control(lb_id);
[CODE]..............
I want to change this code over to vb2008 but dont know how to do it.
View 3 Replies
Apr 14, 2010
We have an old large program generated using vb6. This has been running for years and it works great.We would like to migrate/ upgrade to vb 2008, is there any fast way to have it running under vb 2008?I loaded the project in vb 2008, it did load but generate a lot of errors and warnings. how can i migrate the vb6 codeto vb 2008 easily?
[code]....
View 7 Replies
Oct 15, 2009
i want to create a basic calculator. i can create it in vb6. but when in vb2008. it have problem.. how should i do this?i just need help for + and - .. then other i can done it le... y i can use dim at vb6 but when i use in vb 2008 .. i can't use.. the array is same also... seem like quite different vb6 and vb2008...
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
[code]....
View 4 Replies
Jan 13, 2009
guys...good day to all just made a program for our company im not a programmer i just do a program because no one can do that cause im the only IT in the company i just made a program for concrete pricing the pricing is not constant so it will be change anytime and i have a form to which you can edit the price but the problem is everytime i close the program and then run again it will not update?
View 1 Replies
Jun 16, 2009
I have forgotten the right procedure to encrypt the VB2008 code with dotfuscator community edition, may you explain the way to use it (the dotfuscator) step by step?
View 2 Replies
Jun 6, 2011
How do I go about writing facial recognition code for a program I'm designing? I'm using Visual Basic 2008 Express Edition and I need to implement facial recognition into my software.
View 2 Replies
Nov 23, 2010
I am converting a VB6 program to VB express and am having a couple of problems. One of them is a difference in String use. "Result=string$(32,0)" doesn't compile and I tried the trim function, but when I cannot use the "0" with the trim function the program shuts down with the error "Argument 'Start' is not a valid value." I need to replace the "Result=string$(32,0)" with a valid vb express line.
[Code]...
View 1 Replies
Feb 19, 2011
The Sub that make the job is this:
Private Sub DoMouse(ByVal flags As NativeMethods.MOUSEEVENTF, ByVal Wheel As Integer)
'wheel = +-120 if wheel event, 0 in other cases
'added hoping to improve the code, but nothing changes, Hwnd is a global variable
[code].....
View 1 Replies
Apr 5, 2011
I have 16 student machines who can not access the windows live login during the school hours due to filtering restrictions. They need to register Visual Basic 2008 Express Edition within 30 days or the product becomes useless. The registration process wants them to login to access the keys. Is there an alternative way to obtain the keys as a group, rather than one-by-one?Everything I've found redirects to the 2010 version, but the 2008 version works with our textbooks.
View 3 Replies
Feb 5, 2010
I am trying to write a code for a exponentiation calculator in VB2008?
View 2 Replies
Jan 29, 2010
The Timers based on System.Timers are multithreading timers, I can readBut if in my application I have two timers:1) Timer1 (based on Windows.Forms.Timers) that every 500 ms execute the program main code2) Timer2 (based on System.Timers) that every 1000 ms controls a secondary eventif in the Timer2_Elapsed event I insert the Thread.Sleep(30000)for 30 seconds ALL THE program stops, even the Timer1 controlled main code.
View 5 Replies
Nov 2, 2009
I'm trying to do what it says in the title. I don't even need to send a message body, just the subject will do. The full code with imports and references would be a
View 2 Replies
Mar 10, 2009
Is there an easy way to display the rgb code of system colors in VB2008?
That is, I am looking for some code that will retrieve the names of the colors that are used in the system colors and display their rgb codes (and maybe show a sample), so I could display, for example, what the rgb code for "control" is.
View 1 Replies
Jun 10, 2009
This timer code is for VB6 and worked fine, It's to change the timer seconds into minutes, I'm not sure how to make this work for 2008 though.
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Interval = 1000 ' set timer to 1 sec intervals.
Timer1.Enabled = False ' timer is off
End Sub
[code]....
the errors are...
Error1Name 'StartTime' is not declared.
Error2Name 'MinutesToWait' is not declared.
Error3Name 'StartTime' is not declared.
View 4 Replies
Oct 23, 2009
What is the code for making a score on a game of rock, paper, scissors on vb2008 and how do you make sure it works?
View 1 Replies
Feb 20, 2012
I'm getting familiar now with using the Dataset Designer and how it makes for quick and easy updates and query of tables. I use to use the OleDB commands and leave the Connection String as a Global Constant so I can easily change it if the server name changes, or if we have to re-direct the .NET to another instance of the database.
But now that I use the Dataset designer I'm concerned that I maintain flexibility and support in the long run. how the Dataset designer works and where it stores it's connection string info? And how difficult that would be to update. It looks like I modify the App.config file, but I'm unfamiliar with this.
What am I getting myself into? It looks like a standard XML file. Is that it?
View 1 Replies
Jan 13, 2009
I need to be able to change a path inside a document ( a config file to a program) to the current directory of the application im creating in VB so the text file looks something like
Quote:
something=234
blabla=io
ServerRoot=C:Server
i need to change c:server
View 2 Replies
Sep 18, 2010
I have a code in VB that looks like this:'Server.Transfer(txtUser.Text + "_page.aspx")which is taking a forms authenticated user to their page. For example if John logs in, it will take him to john_page.aspx.How will I be able to integrate this in a PHP login script?I'm trying something like:header("location: $member ._page.php");but I don't think I'm doing this correctly.
View 1 Replies
May 20, 2012
How can I change my code # to Code & in All the text files within a folder
View 10 Replies
Nov 10, 2010
I'm writing some VB2008 code to control four 7-seg LEDs I bought from Velleman. They came with some example code in VB 5.0, and with instructions telling me to input 5 bytes at a time in the format Chr$() & Chr$() & etc. for the rest of the 5 bytes. When I try to do this using VB2008, it rejects the $ sign, so I've tried it using the Chr() format, which VB2008 allows. However, it doesn't work. Is Chr() the new version of Chr$() or are they different entities? In sending data to the LEDs, I'm using LiveComPort.WriteLine() as my command. (My serial port is called LiveComPort) I also tried it with LiveComPort.Write() asthe command. I know that my serial port and the LEDs are working, because they respond to the demo program provided by Velleman.
View 7 Replies
Mar 27, 2012
public void ChangeList(IEnumerable<LineInfo> newLineList)
{
if (InvokeRequired)
{
BeginInvoke((Action<MainForm, IEnumerable<LineInfo>>)((t, e1) => t.ChangeList(e1)), this, newLineList);
return;
}
}
View 4 Replies
Jun 18, 2010
I would like it to be a save file code not save as.
Dim Save As New SaveFileDialog()
Dim myStreamWriter As System.IO.StreamWriter
Save.Filter = "*.HTML|*.HTML|All Files *.*|*.*"
[code].....
View 6 Replies
Mar 23, 2011
Basically I'm trying convert the following....
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
[code]....
View 3 Replies
Aug 27, 2010
How do I change the program path '"logic.txt", "G:"' in the code below to the OpenFileDialog.FileName? Cos when I tried it, I receive String conversion errors and I tried altering the codes but it didn't work out well. [code]...
View 1 Replies
Aug 18, 2010
I have an image scanned in 300 dpi. I want to change the DPI of the image to 72 through code. Seems there used to be a function called Image.SetDPI, but I cannot find it anymore. All I can find is Image.SetResolution(xDPI, yDPI), but that actually changes the SIZE of the image, meaning it cuts out a portion of it, without changing the DPI. Anyone know what function will accomplish this in Visual Studio 2008?
View 2 Replies
Dec 22, 2011
Option Explicit
Private Const NULLPTR = 0&
' Constants for DEVMODE
Private Const CCHDEVICENAME = 32
[code]....
View 10 Replies
Sep 16, 2010
I completed my first college assignment using visual basic 2005 express (Their first lesson was same)
and in order to submit it to my my proffessor I have to change the source code from a .sln to a .c or .cpp,how do I do this?
View 5 Replies
Nov 20, 2009
does any one know the code to turn volume up and down in a music player?
View 2 Replies
Nov 21, 2009
I need to write a windows application that will change certain settings in the internet exxplorer security tab.Could this be done?
View 4 Replies