|
mydataset.mytable.rows(5).item(2)=100
|
|
|
|
|
Or if you know your dataset field names you could use:
dim myDataRow as DataRow<br />
myDataRow = mydataset.tables(tablename).rows(x)<br />
myDataRow.Item(FieldName) = 100<br />
|
|
|
|
|
Hi,
I need to print my file on printer thru my vb.net application. I created the file with formfeed operations. But while printing, file datas printed are not moved formfeeded properly.
Be simple and Be sample.
|
|
|
|
|
Hi,
I am writing a VB6 program where I need to get the information about a perticular icon. Like, if I keep my mouse pointer over a folder icon under Windows explorer, I should get all the information about that icon(Folder) what is its path, size and so on.
Does any one knows about this?
I was thinking i can get this information from WINDOWS(OS) using some API functions.
I dont know know how to go about this.
Please help me.
|
|
|
|
|
By far, your 2 largest problems are:
1) Determining that the mouse is actually hovering over an icon and not just any old graphic image.
2) There's no API call that says "this icon came from this file". There's no way to determine where the icon came from, be it a filename or resource number in that file.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
|
Hye guys
I have one folder contining N numbers of child folders and all the folders also have N Number of child folders and then files. So in total it is a mess. I want to move the folder from one drive to another which is not supported. I have to copy and paste the complete structure.
Do any one have a generic code for this. Though I can write the code but I am very lazy this week. if any one have please send it over.
|
|
|
|
|
Rizwan bashir wrote:
move the folder from one drive to another which is not supported
Moving files from one volume to another is not supported. You have to copy the file structure over, then go back and delete the originals.
Rizwan bashir wrote:
Though I can write the code but I am very lazy this week. if any one have please send it over.
Not our fault! Why should I send you code for free that cost me money to write?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave Kreskowiak wrote:
Why should I send you code for free that cost me money to write?
ok tell me how much you charge for this type of code ?
|
|
|
|
|
You're joking right?
This is not what CP is about guy. We will help you with YOUR code, not sell you ours.
|
|
|
|
|
Try using this
Directory.Move("SourceDirName", "destDirName")
I think this should solve your problem.
Mandar Patankar
Microsoft Certified professional
|
|
|
|
|
this will not work when you are moving the folders from one drive to another.
like
c:\abc to D:\abc
|
|
|
|
|
You can add a DirListBox and FileListBox to a form and set the visible property to False. These controls enumerate the folders and files on a computer. Use these controls to get the file names so that you can move them to the next drive creating folders as needed. If you don't want to add controls to your form and figure out how to use them, learn how to use the API functions FindFirstFile, FindNextFile, and FindClose in the kernel32 DLL. I can give you some examples on how to use these calls if you desire.
|
|
|
|
|
I need to mail the document with attachment using outlook. but my requirement is to write the code which should run with all the outlook versions.I tried mailto but attachment only works with 2000.
|
|
|
|
|
hello there
I have a document Management system where user can create the shortcut of any document and folders (same like windows).
Now the problem is I am picking the system icons for each file type. which makes a list of dynamic icons in my application.
now when user makes a short cut I need to show the same file icon but with an arrow sign on top of it to identify it a short cut. can any one guide me how to do this ?
remember I cannot make a specific list of icons as application can have *.* file types in it.
|
|
|
|
|
"can u send me sql query for updating a field in vb.net"
|
|
|
|
|
Hello!
Cant understand you clearly.........
First of all to tell u that u can use sql update statement for updateing
row(s) of table in a database and not in VB.NET.
Sql query for update is
" UPDATE tblNAME SET tblFIELD="FIELDVALUE" WHERE (condition) "
In vb.net you can use ADO.NET to interact with databases...
See articles on ADO.NET.
_mubashir
|
|
|
|
|
thank u
i got it correct
how can i update a table after deleting a field
thanks & regards
laby
|
|
|
|
|
be careful with string datas. they must be rounded with simple quotes ( ' ) not "
moreover, i advise highly the use of parametered requests as ADO proposes....
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
hi all,
My application is in vb6 and CrystalReports8.5 (some designer reports) . Earlier i have Crystal Reports9. So i Uninstalled CrystalReports9 restarted machine installed Crystalreports8.5. But when try to open my project it could not able load designer reports. instead for my surprise a log file is creating for the files which is not opened. In that lines are like this
Line 2: Class {BD4B4E61-F7B8-11D0-964D-00A0C9273C2A} of control RptActiveCustomer was not a loaded control class.
Line 0: The file C:\AA_NCS\IndonCitiSafe\B_Development\Test@NCS\IFRoS\RptActiveCustomer.Dsr could not be loaded.
I have 13 designer reports for each file i found same message but .Dsr defers
Later i searched in forums whether i get some help, I got something from following link
http://www.codecomments.com/archive342-2005-4-449170.html
But it was not solved, problem still exists. Again i uninstalled crystalreports8.5 and reinstalled it again thinking .dll not installed properly.
So i ask eperts here to help to solve this version problem.
Thank you in advance
krishna N
|
|
|
|
|
Were the reports created in CR9? Was the code written against CR9? If the anwer to EITHER of these questions is yes, then of course it won't work. The classes that your stuff depends on don't exist any more (they're version dependant). Since you uninstalled 9, you also uninstalled everything your code is looking for.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
It defines the weekly schedule sunday to saturday.For each day,it can append several play list to it. up to 10 time schedules can be defined.
any samples ?
Thanks for guidance.
|
|
|
|
|
Hello all
I hope I'm in the right place
I’m newbie, to the programming world; I’m just starting with baby steps
I have a MS Access database that has 2 tables
Table 1: Store
Table 2: Payment
I built a form that display the information from the database
My form has 3 parts
Part1: list box (Binding to the Store Table) display Client Name when I select one the information about that client will be displayed in the Part2
Part2: Detail information (Binding to the Store Table)
Part3: Grid (Binding to Table Payment)
Running the Code: I can select client name from the list box and the information will be displayed in the but , the information (From Payment Table)will not change
The Question: what I need to do to make the information in the grid change and match my selection
Thanks a lot for your time and help
Romeric
Romeric
|
|
|
|
|
Ok I think I understand what you are trying to accomplish. You are trying to get the second grid to update based on the selction in your list box. If this is the case some steps need to be taken on the database side as well as the form side.
1. on the database side you need to have a Promary key field in the first table linked to a field in the second table. (i.e.
Store Payment
CustomerID----------------------CustomerID
Addr1 AccountNumber
Addr2 AccountBalance
Etc... etc....
What this does is allow you to pull queries based on CustomerID.
Now you have two choices.
1. You can pull the query programmatically
2. use StoredProcedure to pull query information
I have heard good and bad for both. In a small application I am not sure it will make that big of a difference.
Now once the SelectedIndexChanged event fires on your listbox you can pull a querie for the detailed information from tblStore and also fire the code or query to populate the grid with information from tblPayment based on CustomerID that was selected.
I hope this makes sense as I seem to ramble on at times.
Thanks,
Taen Karth
|
|
|
|