Check Codes Are Equivalent?
Oct 8, 2010
I have a Windows form application written in VB of about 5000 lines of source code. For security reasons, I have changed all the names for variable, sub, and function to meaningless strings. For example strFileName to XBHDY. Apart from doing some test runs of the modified code, is there a reliable way to check that the two sets of codes are completely equivalent?
View 1 Replies
ADVERTISEMENT
Aug 24, 2009
So I am calling an API written in VB.NET from PHP and passing it some text. I want to insert into that text two linebreaks.
I understand that in VB.NET, the character codes for a linebreak are Chr(10) and Chr(13). How can I represent those in PHP?
View 3 Replies
Apr 12, 2010
What is the VB Equivalent of the following C# boolean expression?data.GetType() == typeof(System.Data.DataView)Note: The variable data is declared as IEnumerable.
View 2 Replies
Dec 25, 2009
Dear Experts modify UPDATE codes according to INSERT codes Style.
[Code].....
I need update codes as there are insert codes
View 1 Replies
Jun 15, 2011
What is alt codes i can't understand about alt codes :S
View 1 Replies
Mar 19, 2011
I'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 Replies
Jun 5, 2011
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 Replies
Jun 21, 2010
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.
[code]...
View 1 Replies
May 15, 2012
I 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?
View 3 Replies
Jun 18, 2010
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".
View 6 Replies
Jul 15, 2010
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 Replies
Nov 7, 2009
This 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.
View 3 Replies
Jan 7, 2011
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
Aug 2, 2011
I need to be able to write data to a binary file. No problem - I have a test app I've knocked up that reads and writes to them fine, however the format uses C0 and C1 control codes, and I have no idea how to write them properly. The SOH, ENQ, DLE, NUL type of thing. I'd post some but they are non-printing. I know what they mean and what they do but have no idea how to write them.Basically we are writing our own system that generates test data files for import by another program. My files that I write have the correct number of fields and correct value and formats but because I can't get the tags to write they data is imported incorrectly. I've spent days reading up on it but can't find what I'm looking for.Not dealt with binary data files in VB before so this is all new.
View 3 Replies
Jun 21, 2010
I have following codes on lostfocus of textbox1.text to search values. It works fine but how to navigate database. I mean what codes should I use for Next Record and Previous Record Buttons. [Code]
View 1 Replies
Feb 17, 2011
Writing codes for a school project I have to do. Basically I need to make a program that when you click a picture box it replaces the picture with an image in a second picture box on the same spot on the form. I am not sure how to do this. Right now I have the two pic boxes side by side and when I click one the other disappears as it should, but I can't get it to reappear so one can click between the two alternately.
View 7 Replies
Feb 27, 2009
Commenting a block of codes /* ... */
View 5 Replies
Dec 25, 2010
Private Sub txtTerm_KeyPress(KeyAscii As Integer) '4078D0
[Code]...
View 1 Replies
Jun 16, 2011
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 ..
View 1 Replies
Dec 28, 2011
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]...
View 1 Replies
Mar 12, 2012
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]....
View 8 Replies
Jul 29, 2009
I was converting my VB6 codes to VB 2008. There is a section i use a third party application (Microsoft Excel) to print report. But now VB 2008 is not accepting one of my statement. the statment is shown below in bold letters.
oSheet.range("H" & Row & ":" & "J" & Row).Value = Array(InvoiceNo, , Today)
it works in VB6 but fails in VB 2008 because of the Array statement, is there any replacement for this in VB 2008.
View 2 Replies
Apr 26, 2012
I'm recently writing an app that is localizable and have several lauguage resources built within VS 2010 SP1. But now I came into a problem -- it seems that VS has modified one of the Designer.vb unregularly.The problem reveals like this. Whenever I want to change the main form's Language from Default into fr-CA (for eg, and with Localizable true), and after I save or run the project, then VS shows me with dozens of a same errors: 'Resources_ fr_ CA'is not a member of 'myApp'. The amount the this error I guess is depend on the number of controls on the form, but I'm not quite certain about that.Then I looked into the Designer file and found strange lines that were suddenly added by VS, they are somelike this two, not all these but commonly:[code]
The problem used to happened several times and it was passive before cos I can remove the lines one by one, using a text editor from outside. But now it is total nightmare, because, now whenever I set Language into French, the same problem MUST happen as saving the project. I can not debug or develop it with local language again, that is not any more a joke is it?
View 6 Replies
May 6, 2011
I am making a quick word processor, with the basics (alignment, cut, copy, paste, font size, font style etc.)I have four buttons for each of the font styles; Bold, Italic, Underline, and Strikeout.I have entered the following code, but my problem is, only one of the styles is used at a time, so if I use bold, then press italic, bold will be removed and italic will take its place. I want all four of the styles to be able to be used at once. [code]
View 4 Replies
Apr 9, 2010
I have a dataset that pulls information about topics. However, I need to filter the information so i only get the topics with certain Topic Codes (These topic codes are in the form of an array).
Me.TblTopicsTableAdapter.Fill(Me.MainDataSet.tblTopics)Right, let me try and explain better.
I have an array named COURSE_Topics. This array contains topic codes as string elements.Currently, my table adapter query looks like this:
SELECT [Topic Code], TopicName, NoOfCourses, Duration, StartDate, EndDate, [Level] FROM tblTopics
At the end of that query i need to add a WHERE [Topic Code] = - then list of topic codes in the array.
View 5 Replies
Jan 23, 2012
After a stage i have found that there are lots of codes redundancy and reusement on my disk drive. And i have also noticed that for special operation i am using the similar algorithms again and again. So i thought that if there were a program that can find the functions from specific file types producing the output of the function list etc?
View 6 Replies
Jun 21, 2012
How To Have A Collision In VB.net XNA Using VB.net Codes And Format. Doing Collision In Normal Windows Form Application Is Simple By Calling Two Picture Box. Example:
If(enemyRectangle.Intersects(p�layerRectangle)) Then
'Do code here
end if
But In XNA VB.net, There Are No Multiple Picture Box Or Windows Forms Thingy Buy Only One Picture Box Which Contains All Sprite Block And Display.
Here Is The Class Content Code:
Public Class clsContent
Public Class GameContent
Public Content As ContentManager
Private ServiceHelper As New ServiceHelper
[code]....
View 1 Replies
Jul 28, 2011
I'm trying to add the original pictures to my vb.net program.When the client computers install the program there should have the original pictures in their computers.And other programs, not this vb.net program, can deal with the picture. Better to get the picture fullpath ,something like D:program filesabcody.jpg.
View 8 Replies
Apr 13, 2012
Project.
Imports System.Management
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles
[code]....
View 1 Replies
Jan 11, 2011
My project is due next week and im stuck with how to write the codes. Can someone please tell me how to start writing the codes?
View 5 Replies