VS 2010 Find Next Uidnumber?
May 2, 2011
I'm trying to basically get the next number in a series. I'm trying to create a user account and when the user clicks to enable a Unix Account to get the next uid number in the series. I guess I'm struggling the most with reading all the uidnumbers into an array and then getting the next in line and then return that value to update a text box.
View 2 Replies
ADVERTISEMENT
Oct 25, 2010
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]...
View 9 Replies
Feb 16, 2011
At my old job we used batchscripts to start macro's in another application. These batch scripts would also write data about the status of the macro as loglines to a log file using VB.
I have saved the batchscripts when I moved to another job because I always thought they might come in handy. However I forgot to save the visual basic script needed to create and fill the logfile.
The batchscript would look like this:
SET SP=C: est
SET LOGFILE=C: est est.log
cscript //nologo %SP%logging.vbs "Script executed by admin" >%LOGFILE%
cscript //nologo %SP%logging.vbs "Starting Loading Data" >>%LOGFILE%
View 1 Replies
Oct 13, 2011
For this assignment, the user has to enter 10 number and my msgbox will show the number of negative number aswell as the lowest number.here's what i,ve come up with
Quote:
Dim innombre As Integer
Dim innbrnegatif As Integer
Dim inpetit As Integer
[code]....
how to find the lowest value and obviously i'm not able to show the number of negativ number.
Dim innombre As Integer
Dim innbrnegatif As Integer
Dim inpetit As Integer
[code]....
I was able to make the program work for the smallest number but it doesn't show the number of negative number.2nd edit: i changed the innombre to innbrnegatif+1 in the nbrnegatif = innbrnombre+1 and now it seems to be working.
View 7 Replies
Feb 21, 2012
I have a peculiar error in a Visual Basic 2010 Express that doesn't seem to cause any problems, but it's there every time I open this particular project. It's a Windows Forms Application. If I do a Build function on the project, the error message goes away. But if I close the project and re-open it, the error is back again.Here's the error as it appears in the Error List at the bottom of the screen:[code]
View 3 Replies
Sep 11, 2011
How can i search a database with multiple search criteria. e.g. search where ata=26/11/2001;department=Security;Payment Type=Expense.I would also like to display this data in datagridview when i click on search button. Or if possible, using crystal reports to view the result so that it can be printed
View 18 Replies
Apr 14, 2012
how to find item in ComboBox using visual basic 2010 ComboBox binding with Students Table i want to check in ComboBox item (studentName) found or not
View 5 Replies
Jun 8, 2011
How to find Lines of Code in VS 2010?
View 7 Replies
Dec 30, 2011
I'm trying to make a toolkit of all the software that I use to do virus removals, PC Tune-Ups etc.. The issue that I am having is I cannot get the program to execute. For Example: I have created a small program with several buttons on it that I would like to execute specific programs that I have when they are Clicked. If I Click the 'Combofix' button, I would like 'Combofix' to start.
On my computer all the button functions work properly they execute the program that i have coded them to execute just fine on MY COMPUTER. However, when I publish the program and migrate all the publication to another computer the buttons do not work properly. My first thought is that I do not have them directed properly. As if the program does not have the other software (combofix) being copied with it.
This is the Error that I get - 'The system cannot find the file specified.'
This is the directory that i am using - Private
View 16 Replies
Apr 21, 2010
Where do I find the compile option for x86 and x64? I turned on the option but I cannot find out how to set the preference.
View 4 Replies
May 31, 2010
I have an array in my application and I don't know how many values there will be in the array because it gets the data from a webpage. Filling the array with information from the webpage works except for the length, it always returns 999. This is my
dim Array() as string
Array = GBA(source, "<b>", "</b>")
Count = Ubound(Array)
How can I find out the length of my array?
View 8 Replies
Mar 26, 2011
I have 2 listbox's. Both contain a list with urls. I need to compere this listbox's and to optein only the urls that are not repeat. How to do this? Or other option with only one listbox but to do the same, to show only urls that are not repeat.
View 6 Replies
Dec 25, 2011
So I got this DB and I have these values
Hash | Value
abcd | "test"
efgh | "test2"
I want to search my db for the value abcd, so I wrote this Private Sub Button1_Click_2(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show(Me.Table_0BindingSource.Find("Hash", "abcd"))
End Sub
but I keep getting -1 even if there is no data that matches what I want to search.
How can I do a search using Data Sources?
View 1 Replies
Jun 6, 2011
i have created a database application in visual studio 2010 running with visual basic code, the application works great but i want to add a search feature on the dataset bar in the application next to the add and save how do i go about it,
View 1 Replies
Jan 6, 2011
Dim MainHwnd As IntPtr = FindWindow(Nothing, "NameOFtheSoftware - Trial Version (0 days)")
'MenuClick(MainHwnd, CType(2, IntPtr), CType(0, IntPtr))
I am using the name of the window to do the clickingaction, But the software is a trialversion and changes the days amount. So how to make it that it doesnt need to find the whole windowname, but just a part of it.For Example: NameOFtheSoftware
View 15 Replies
Mar 27, 2010
I need a RegExp pattern, but i don't know how to write one?
I want to find all sections in an inifile.
Strings like those:
[5636]
[2246]
[1264]
View 2 Replies
Mar 24, 2012
I have a Treeview with two levels (customers , products) and I want to find by customer name... I tried the following:
[Code]....
This does not work... could somebody tell me what I am doing wrong.
View 5 Replies
Jan 29, 2011
im trying to find a small difference in 2 images and return the x, y of where the difference was found, i have no idea where to start.
View 3 Replies
Dec 7, 2011
I have a small app, that takes items in a listbox, and loops through them..Ive noticed that the memory usage just keeps getting higher and higher and higher until it crashes, how can i track where its no relasesing the memory?I am using the web browser control, and anytime i go to a new page, the memory useage goes up, and stays up..All other loops i have wont make the memory usage go up, only when i use the web browser.
View 4 Replies
Apr 21, 2011
I'm trying to find and focus a opened form. e.g. My opened form title = "Basketball Days"..How I can find the "Basketball Days" form and focus?
View 28 Replies
Jul 26, 2011
Does anyone know how I could get my app to show the ISP of the machine it is running on, I can get internal and external IP addresses, just need to know if possible and how to look up ISP from this information
View 1 Replies
Apr 4, 2012
Are there any ways to make my program more accurate or faster? So far, I've been using multithreading and priorities.
View 28 Replies
Dec 2, 2011
Can't find Server Explorer in vb2010 express?
View 2 Replies
Apr 23, 2010
i want to create a windows form where i can add names, Employee ids and the projekt they are working on. Clicking a button should add the data to a database. Later id need to retrieve this data.First i was thinking that setting up a sql database and finding functions to access it would be fairly easy however.. Theres obviously more than one way of doing this and im having trouble finding the right angle...
View 13 Replies
Jan 25, 2012
I just installed the Visual Basic 2010 Express and I have no idea how to start! The IDE is so new to me and I need the place or link where I can download or watch video tutorials about the IDE and its features. I also want to learn the VB 2010 Express language from the very basics of it.
View 2 Replies
Nov 7, 2011
This morning we started doing a pythagorean theorem which basicly will convert a set of numbers into the answer. The theorem is a� + b� = c Basicly I wan't it to find the C in a triangle. Some thing I were told that we should use are :
[Code]....
View 10 Replies
Jul 19, 2011
I am experimenting on a vb app and I have a textbox where you input the value of the href (e.g. http://.......) so when I click the button it will search for it and click it. So while the webbrowser is on a webpage which haves many href elements, when i press button1, I want it to find the one we defined at textbox1.text and click the BLUE HREF Link on the webbrowser (I think this requires javascript).
View 20 Replies
Feb 19, 2012
It is very easy to move your cursor to a specific coordinate but my question here is how do you move your cursor to an image? Now what this would involve doing is importing an image so the program understands it, then finding that image on your screen (maybe through RGB colors). How exactly do you do this? What is the procedure?
Say I want to import this image: Now I want the program to find that image on the screen (THE START BUTTON) and then move my cursor on it.
so cursor.position = new point(the image)
View 10 Replies
May 22, 2011
Lately I have been making a program (I guess you could call it a trainer), which would read the process memory to get the character's coordinates in a game. It later makes a simple map and show it in a separate windows. I built this program in VB.net, and it works surprisingly well. The only problem is the fact that the memory address where the coordinates are stored, changes every time I restart the game. Could someone please help me find a way, for the program to find the correct address by itself? If it helps, the game I am referring to is Minecraft.
View 2 Replies
Mar 22, 2012
I'm looking to search a text file and return back the full line of text...So if Option1= is found, capture the entire line
Option1=14,26,21,67
I guess I'm looking to be able to capture the start of where it found the text to the end of the line.
View 4 Replies