How To Locate Same Value
Aug 10, 2009
I have a windows form form1 on that form one textbox and one button.
textbox.text='200'
when I click in the button I have to show a table(vendor) and I need to locate on vendorno='200'.
in vendor table there is 1000 data fields are vendorno and vendorname.
View 12 Replies
ADVERTISEMENT
Oct 30, 2008
i got in to very strange error message. I have create one simple appliation which will download webpage from web and put that in htmldocument so that i can parse it later.
here is code for this
[Code]...
View 1 Replies
Sep 4, 2009
I have already done the creation of button and the dragging of button at runtime already. But now i need to know how do i save the last dragged button on the form and also detect the name of the last clicked button.
i now drag a button to coordinates 25,254. so when i exit the form and the next time i launch it, the button will still be at 25,254. and this one will go on for the number of button i created like 100. so when i launch the form the 100 button will be at the exact position where i last saved them. the second part is lets say i created button1 and button2 on the form in runtime. so when i clicked the first button, it should display button1. and if i clicked on button 2, it should say button2. same goes for like 100buttons.
[Code]...
View 1 Replies
Jun 17, 2009
important info : my o.s. is windows7
i just recently published my app, and when i try to locate the exe file from the start menu/my app folder/my app shortcut's properties, i get this as a directory:
C:Users rujadeAppDataRoamingMicrosoftWindowsStart MenuProgramsmy application
now when i go to that location, in windows explorer, all there is a shortcut looking icon. when i check the properties for that, the Type of File : is Application Reference (.appref-ms) . is this my app, and if so, why does it have that little arrow on the icon like shortcut icons do?
i cannot seem to locate the .exe file by doing a system search, other than locating my other similar app which is located in a set folder and was not run from a setup. and if possible, how can i install my app in c:program files and not that set location?
View 4 Replies
Aug 2, 2009
I'm trying to locate a file path using code but don't know how. I want to do something along the lines of:
dim currFilePath as string = '...
dim file As New IO.FileInfo(currentFilePath + "/bin/debug/sales.dat")
View 3 Replies
Nov 1, 2009
Does anyone know where i can locate my Database.mdf this is a file inside my application but when i make the app and deploy it install it on my system i just cant find it anywhere.
View 4 Replies
Feb 2, 2010
I am making a program that stores all information that is entered into a directory and then zips that directory onto the C drive. It is working perfectly fine, but I think it would be easier for the user if the final directory was zipped onto the desktop.
Is there a way that VB.Net can locate the user's desktop and then zip the directory and place it on the desktop? For example, zipping it to "C:Documents and SettingsAdministratorDesktop" would work on my PC, but it may be different on a user's computer.
View 4 Replies
Oct 6, 2011
I am trying to use regular expression for extracting data from web page. but everytime i change the URL i need to change my regular expression for URL.
View 3 Replies
Jul 20, 2011
I am making an image modifying program and would like to know how (after I have located the .png, .gif, .bmp etc) I can identify the properties of a certain pixel (RGB and the amount of transparency), how to change the colour of a pixel (similar to first part) and how to tell the program to "move along to the next pixel, unless you are at the end of the image, in which case; move down a row and continue" please help. Also, it is a program which converts a greyscale image (black, white and grey) to black, semi-transparent black and transparency). Just in case that helps.
View 1 Replies
Apr 27, 2011
I should update a value of progressbar that not is placed on main form but on another "wait form". I have wrote this code in
[Code]...
View 3 Replies
Jun 1, 2012
VB2010. I'm trying to figure out how to locate the desktop path for a user on another pc/server. Something similar to:
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
The main reason is we area talking about an Environment that has XP, Win Server 2003 (TS), Win Server 2008 and Win 7. Obviously different path depending on the OS. I need to copy a file to a users desktop and would like to do so without having to hardcode the path as it could change depending on where they are working from.
View 10 Replies
Apr 29, 2011
i pulled some code off the internet for resizing images on the fly. it works great but only if i give an absolute address for the location of my files.
here is the portion of code:
Dim src As String = "c:downloadsff.jpg"
mage = System.Drawing.Image.FromFile(src)
[code].....
View 1 Replies
Aug 10, 2009
i have 12 button and 12 panel hooked at this button.but sometime after i clicked this button,that panel not at position i want.So, how to locate this panel for good looking and at position i want? to left,up and down.tq for your help.
View 3 Replies
Apr 14, 2011
When I use the Debugger to to debug some code, I see a subrountine (or function) call.
How do I quickly locate the code for that subrountine (or function)?
View 2 Replies
Jun 22, 2010
was doing programming and ran into this assignment. It says: create a "textbox1" to let the user enter a sentence. Then create a "textbox2" to let the user enter the text they want to remove. Then create a "textbox3" to let the user enter the word they want to replace.
For example, I enter "I love cookies very much" in "textbox1".
For "textbox2", I enter "cookies".
For "textbox3", I enter "eggs".
[code].....
View 6 Replies
Oct 28, 2010
I have a function which uses MSXML to post an Xml document which yesterday started failing despite no change being made to the code. The function is as follows:[code]The Xml document and the address being passed in are both correct - the line which causes the error is xmlHTTP.send(xmlDoc). I have tried this on 2 different machines with the same error each time, and have also tried resinstalling MSXML3, with no success.[code]
View 1 Replies
Feb 14, 2010
I have so far been able to locate on instance of a code, It gives me the game name and game url How do I get the next game name in the document?
[code]...
View 6 Replies
Jan 23, 2012
I have written a simple program in VB 2008 that in a part of it, it loads some images from a directory with a formula like this :
PictureBox.Image = Image.FromFile(CurDir() & "photos�.jpg")
The photos are located in : inDebugphotos this works fine and loads images when I run the program.But after I publish, it can no more locate the files and I receive an Error:
Unhandled exception...
c:users.............................................photos�.jpg
Now I need your kind help please in these 2 cases:
1- Can you tell me how I can correct the formula?
2- After publish, dose the setup file contains my photos folder as well?
View 9 Replies
Jun 2, 2010
I have a dataset, a bindingsource, a tableadapter, and a bindingnavigator on my form. how to find data and locate to the new position?
View 1 Replies
Sep 24, 2009
I need to obtain the full path for a file located in somewhere in the system search path for executable files, when I only have the file name. Another user came up with the following code. However I was hoping to find something that is more directly supplied by the system, rather than a "roll your own" solution such as this one. Also, the solution below could run into problems, however unlikely, because it is possible for Windows file and folder names to contain semicolons. The split function doesn't pay any attention to quotes, and could therefore improperly split a path that includes a folder name with an embedded semicolon.
Private paths() As String = Split(Environment.GetEnvironmentVariable("PATH"), ";")
Private messageOutput As String
Private fileInPath as String = "notepad.exe" ' for example[code]....
View 6 Replies
Oct 27, 2009
Ive tried searching for hours now and cannot find out why my code (aka, me.) is failing
Basically... I have a listview control which I'm passing a datatable of products (ID, Name, Description and Price columns), and im trying to make it so that when the "checkout" button is pressed, it parses through all the controls on the page, finds all the controls with the correct ID's and adds the items values to the cart.
ive checked all my ID's in the source code and they match up to the ones being requested by the FindControl method.[code]...
View 4 Replies
Sep 10, 2009
How to locate a button based on the handphone number or any number? That means if I assign the button to coordinates 25, 14 and number 1 as the button name. So when i key in 1 in the text box, only that button will light up the rest wont. So that means the statement will be like:
if textbox1.text = "01" then
' button at 25,14 backcolor = black
end if
View 10 Replies
Jun 13, 2011
Is there a way to locate a cell by back color? I have a datagrid, that will populate names, on some of the cells. Some of the cells will be empty.
I have it so if there is a name in the cell, the background color will change to blue. I also can look for a specific value, and locate the value that way, and then change the color the cell or whatever.
The problem is that I have 4 different status for a cell with the same name. So for example, "Joe" name will show up in the grid. That cell background will turn blue.
The next status is "Check-In". So I can return the value "Joe" from my database with a store procedure, and look for that value of "Joe" again, and change the color to red to show he is checked in. The other 2 status I have is In Session, Session over. The problem is what if there is more than 1 "Joe"?
I think the best way is using the datagrids CellPaintings. But I can't find any other value beside a value to locate a cell on that procedure. So I thought if there is a way I can find a cell by the e.value = "Joe" and cell.backcolor = color.blue, than I can avoid having problems with multiples names.
I would be open to any other ideas, or a better way of doing this. Oh, is there a way to use tags for a cell value? I thought that might be a way was well.
View 3 Replies
Aug 15, 2011
I need to know how do i locate a form window on custom location at the desktop[code]..
View 3 Replies
Jul 13, 2010
I want to backup my database using Linq to SQL:
Dim sql As String = "BACKUP DATABASE SeaCowDatabase TO DISK = _
'" + sfd.FileName + "'"
db.ExecuteCommand(sql)
[code].....
View 1 Replies
Sep 21, 2009
When I build a project in visual studio 2005, I got some errors that are like
"The assembly 'xxxx, Version=5.2.0.0, Culture=neutral, PublicKeyToken=7bd72a647a3c48e9' is not registered for COM Interop. Please register it with regasm.exe /tlb." So I followed the link http://support.microsoft.com/kb/316163 to register them with regasm.exe /tlb.
However, I got an error " Unable to locate input assembly 'microsoftbasic.dll' etc.
View 10 Replies
Oct 3, 2010
i would like to know how locate the hard disk in a computer. For exemple I have 2 hard disk : C: and E: I would like to locate them and list them in a textbox for exemple.
View 11 Replies
Apr 27, 2009
Admin users can add HTML content to a website via a CMS textbox control.
When this content is displayed to a website visitor, I'd like to identify the presence of a HTML table (added by a Admin user using the CMS) and display an option for visitors to export that table.
I can handle the exporting, but identifying the HTML tables has me stumped.
View 2 Replies
Aug 24, 2011
I need to go through the column headers and look for specific text to locate & verify which column contains the data I want.
View 5 Replies
Jan 24, 2010
I am using VBExpress 2008 and trying to use of graphs. I tried to locate Ms Chart control in Chose Toolbox Items but I am not finding that.
View 3 Replies