Convert Codes Writen For GWBasic Into 2005?
Jul 30, 2009I want to use a program codes written for GWBasic in VB 2005. how to do it?
View 9 RepliesI want to use a program codes written for GWBasic in VB 2005. how to do it?
View 9 RepliesI have the following code :
sw = New StreamWriter("scanner.txt")
sw.WriteLine("TEST")
sw.Close()
This code should write the txt file to the folder my exe is in. This is the case on hundereds of different machines.
However I have just found out that on one machine my code always writes the files to the desktop and expects to read from the desktop. I am going to change my code so it looks specifically for the application folder but I still dont get why this is happening on one machine and not on all the others.
I am from c# field and now are doing a project using VB, I wants to ask about question as below:1) private static DataSet ds; I wants to convert the C# codes above to VB syntax, but VB seems like don't have equivalent keywords of "static"(Correct me if I was wrong).
View 3 RepliesI have a datagridview with 3 columns. the second column is a read only . When I leave column 1 I would like to go directly to column 3.
[code]...
Private Sub txtTerm_KeyPress(KeyAscii As Integer) '4078D0
[Code]...
I'm wondering if i can convert vb.net codes to python ?
I have this code"
[code]..............
i guess it's like:
[code].....................
so there any converter ? it would be so nice because i got source code for program in vb.net and as you know it's work on only Windows and i want to make it work in Linux so i need Vb to python converter ..
I am having a trouble with my project I want to convert this vb6 codes to vb 2008...can you help me??
here's the codes:
[code]...
how to convert text file to code with this tutorial with the link below but not work.[URL]
Private
Sub Form1_Load(ByVal
sender As System.Object,
ByVal e
[code]....
I have a datagridview with 3 columns. the second column is a read only . When I leave column 1 I would like to go directly to column 3.For this, I got following codes from somewhere but I need these codes in vb.net format, please help or suggest some other method
Code Snippet
void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyData == Keys.Tab)
[code]....
I've programmed in gwBasic for years, but it won't run in a 64bit OS, so I've had to learn vBasic. But I haven't learned how to have simple data in the program. Eg., in gwBasic there'd be a line like this:
140 Data 123, 64, 2382, 40, ..(etc) or it might be strings, or both.
And of course, you'd use the Read stmt to read it, and Restore to 'refresh' the data list.
I can't find equivalent cmds in vBasic, tho it seems most of the old stmts do have counterparts in vBasic.
need VB codes extract frames from a webcam and convert to greyscales
View 1 RepliesSo im making a text replacer for PSP Programmers to easily convert the codes to NitePR format. None of you know what that is but w/e Heres my problem I load the text file that has the code into a text box.
Then i press the button to convert. It has this code
[Code]...
I have to display data as following:
EEAST
WWEST
NNORTH
SSOUTH
NENORTH EAST
and so on, in a tabular form. when I select any of the above row then that can be deleted by simple buttom; and at the same time we can also add more item in above list throught inpput box. If it is a single column then I can do it by list box. How can I do it when I have multiple columns.
i can anyone tell me how do i save the below codes into textfile and make my program read from it? i'm trying to make a chinese calendar and below are the months of it. i'm gonna need to save up to about 3 years of months.
[Code]...
Dear Experts modify UPDATE codes according to INSERT codes Style.
[Code].....
I need update codes as there are insert codes
Are the codes generated from Visual Studio.net 2003 Visual Basic fully convertible and compatible ti Visual Basic 2005 Express Edition ? I tried converting a project which was develop from VS 2003 for VB 2005 but after the process there are some commands which is not supported in the latter version. The deployment module in this project is also not recognised in VB 2005.
View 1 RepliesIm trying to write a simple c++ dll and then reference it in my vb form app however im having a hell of a time doing so. but im getting an error when i call the c++ function in vb.net
here is the c++ code
#include <WINDOWS.H>
LPCSTR DisplayStringByVal(LPCSTR pszString)
[code]....
I have made a Medical software writen in VBA and now I want know how can one who has not Microsoft Office (Excel) installed, run the program.
View 1 RepliesI have writen a piece of software which takes values from a serial port, peforms some calculations and then records the result in an Excel file.It also uses some values stored in an excel file for reference.
The program will run fine for days/weeks until the PC is rebooted mid run.Once it gets rebooted mid run I ge the error "RPC_E_DISCONNECTED"This then occurs everytime the program is run.Full error file below.I'd like to code for this error of course but even a simple fix to stop it happen once the PC has been rebooted to allow it to run again would do. I can give more details but I'm not sure where to start.Target system is windows XP SP3 with office 2007
[Code]...
I have a game which has a chatbox in it and was wondering if its possible to create a program that intercepts the traffic going into and out of the game including whats writen in the chatbox.I am the host of the game.Basicly I want the information to be displayed in something like a richtextbox?
View 1 RepliesIs it possible to convert vb.net 2008 to 2005? My teacher is a pain in the ass and is still working with 2005 and he doesn't want to change to 2008, any way I can convert it to 2005 without copy past all the piep
View 7 RepliesI am need of help. I need to know how to convert Binary to BCD in VB 2005 C++.
View 1 RepliesI have a piece of code that I got from the Garmin Web site and I need to convert it to VB.NET 2005. It only consists of one module, that finds a Garmin GPS on a USB port and displays its model number. I tried all kinds of online or converter programs that I found on the web but none of them managed to convert this simple program. My knowledge of C is not sufficient to do it manually.
[Code]...
i write project in visual studio 2010 , and i want to open same project in vs2005?i mean i want to convert from vs2010 to vs2005 ?
View 4 RepliesI have a piece of c# code.
Public Interface CCustomMessageClass : IReportViewerMessages
public string ProgressText
{
get { return("test") ;}
}
End
I have took my research on google of how to convert the code from c++ to .net. I cannot be able to find the tools to convert from c++ to vb.net.
#include <stdint.h>
#include <string.h>
#if defined _WIN32 || defined _WIN64
#include <winsock2.h>
[Code]...
For a labels text I need to use the & symbol in the text, so I did this:
Const symbol As Char = Chr(38) and I am using like this:
Me.Label1.Text = "Welcome to A " & symbol & " R Storage Management Systems" I am looking for this because it is how the business name is spelled: A & R Storage
any other Char symbol I use in place of 38 will display the Char, but not the ampersand, it leaves a blank spot. Any advice. And yes I know the & is used to concatenate string variables, but I should be able to use it as a Char.
can we vb.net 2008 to vb.net 2005 if it is possible then how
View 2 RepliesHow to convert vb.net and sql server 2005 into .exe file the exe file can be run in the another system but it cannot be save the data. the connection string can be errored because my computer name and another computer name is different .
View 2 RepliesI am trying to convert a string to double and it is giving error. Bye the way it is not giving error on my PC but it gives on some pc's where other clients are using. String is retrieved from xml data.
<data><vitals>
<username>aiglemedia</username>
<balance>49.60</balance>
</vitals></data>
vb code
Dim curBalance As Double
xmlNode = xmlDoc.GetElementsByTagName("vitals")......xmlDoc contains the above xml data
curBalance = System.Convert.ToDouble(xmlNode.Item(0).Item("balance").InnerText)... I think so error is on this line.
Below is the link for the error given by the client who is using the app [URL]