Convert Codes From Vb5 To Vb2010?
Dec 25, 2010Private Sub txtTerm_KeyPress(KeyAscii As Integer) '4078D0
[Code]...
Private Sub txtTerm_KeyPress(KeyAscii As Integer) '4078D0
[Code]...
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]...
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 want to use a program codes written for GWBasic in VB 2005. how to do it?
View 9 Repliesneed VB codes extract frames from a webcam and convert to greyscales
View 1 RepliesI just converted my project from vb6 to vb2010 and am getting this error
Error11Name 'cdPrintSettings' is not declared.C:\Users\IT\Desktop\trial\TETRAD_.NET_UPGRADE\TetradUpgrade.NET\frmInvestorStatementPrintDialog.vb278Tetrad upgrde
I'm using vb 2010, lets say i have a TextBox1.Text and i want that the information entered there converts to hex so im talking about converting string to hex, i know for integers u can use hex() but not for string, im just trying to convert text to hex, now in python i would use textbox1.text.encode("hex"), im new in the programation world and i started with python so i dont know how to do this in vb2010,lets just say im making a hex to text conv and textbox1.text is where i'm gonna type the text,
View 8 RepliesI'm studying visual basic in my course and in my book there was this example so when I tried to do it , it didn't work I did the same thing as written but I don't know what is the problem with me this is the error message apear to me
View 4 RepliesI have a few small apps developed with VB2005 and Crystal Reports(that comes with VB2005) and installed at my clients. If I convert them to VB2010 and set the app to work with .Net Framework 2.0 like my VB2005 apps did, will I have to do any installation process at the clients or can I just copy to new VB2010 app to clients machine?
I ask this because when they want minor changes, I usually just install the updated exe over the internet.
I've created a rich text editor in vb6 but am forced (yay for the IT department) to switch to vb2010.but for the life of me I can't get the editor to work.
[code]....
I created a windows form in VB 2010 and I am trying to view it in 2008, but I get the error message "The selected file is a solution file, but was created by a newer version of this application and cannot be opened".
Is there anyway I can re-save the 2010 project(similar to Microsoft word) in order to be able to open in older version?
How to convert VB2010 Express proj to VB2008
View 6 RepliesMy goal is to find the fastest way to convert a bitmap in a one-dimensional string array, where black pixels have to be converted in "X" characters and every other pixel in blank characters.My present attempt is to use a code like:
[code]...
But the Cpu usage is excessive, and the elaboration time too (I have to convert one Image by second).Can someone suggest a much more fast method, maybe using some Api??
So 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]...
can i convert colors values to integer?
View 6 RepliesDear Experts modify UPDATE codes according to INSERT codes Style.
[Code].....
I need update codes as there are insert codes
I decided to to convert my excel macro in a exe file using visual studio 2010. In excel macro method find is present like this:
[Code]...
Is it possible to convert a vb6 project into a vb2010 project?
View 6 RepliesThis code was posted in Chit Chat and everyone is saying how great it is. I just have Visual Studio 2010 and no familiarity with VB6 so I thought it would be good to convert the code to Visual Basic 2010.
[Code]...
What is alt codes i can't understand about alt codes :S
View 1 RepliesI'm looking for the proper code in .net platform to call and edit different properties of ADF scanner. And also how to find out if there is any paper(s) in the feeder?
View 4 RepliesI have use this codes in my project
For Each dr As DataRow In DsReports.DataTable
Dim Cmd As New SqlClient.SqlCommand("INSERT INTO Temp " & _
"VALUES (@ID, @AccountDeatil,@Debit,@Credit)", Cn)
[code].....
Now How to use ProgressBar1 into Code?
I am trying to translate some VB codes to C++. And I am not quite sure what this line does.
IIf (n& 1=1, 0.0005, -0.0005)
I know what IIf(logic, true_value, false_value) does, and I guess the & operator is supposed to concat two strings. But I am not sure what the intention of using "n & 1 =1".
I'm making a tv player and I want to make vlc to play my streams, i need also the code to record the stream and the code for fullscreen. i will be more detailed in the following picture
View 2 RepliesThis is for vb.net I've been working to develop a system which involves computation.What I've been trying to develop in my program is, I have a textbox where user will enter a numeric value,there is a button and a label below and in the first place the label should be set to zero. Everytime you enter a numeric value in the textbox and click the button it should add the value in the label and should save the value in the label so even if you exit the program whatever the last value displayed in the label should remain the same when run the program again,I believe it requires a database to save the value.Basically its like with payment system which saves the total amount of all payments made.
This is how should it works,say for example,if you will enter 1,2,3 it should save the sum value which is 6 in the label even if you close the program and when you run it again and enter another value it should add to the current value which is 6.
In C, Pascal, and C++ it is possible to use the FormatMessage function to retrieve a "friendly" error message that corresponds to a COM HRESULT error code. This question contains sample code that demonstrates the C++ approach. Of course it would be possible to build a managed C++ assembly to perform this function for C# and VB.NET code, but I'm wondering: is there a way to translate COM error codes using the .NET system libraries?
View 2 Replies