|
obarahmeh wrote: i think that there is no one here have the answer to ur question
Wrong. Many of us used VB6, and all of us have access to google. VB6 IS outdated. However, the other issue is simply that if someone takes a course, they will be given everything they need to complete an assignment. Not encouraging people to first use those resources robs them of the chance to learn.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Christian Graus wrote: Not encouraging people to first use those resources robs them of the chance to learn.
Excellent point
Some people have a memory and an attention span, you should try them out one day. - Jeremy Falcon
|
|
|
|
|
Takes a good father to at least try, rather than throw your hands in the air and let your son fend for himself.
Posted by The ANZAC
|
|
|
|
|
Hello,
I have a problem with the WebFile type:
Dim myFile As WebFile
and i get the error:
Type 'WebFile' is not defined.
Anyone could help please?
thanks.
|
|
|
|
|
There's no such thing as WebFile . What are you trying to do?
|
|
|
|
|
i'm not trying to do anything, i picked up an existing code that is supposed to save a webpage into text, archive, complete, etc. and its not working because of this error... i got the code from here
If you can please check it out cuz i really need it
Thanks
|
|
|
|
|
Then you should ask the question in the forum provided by the article. If you download the article code, does it run ? It probably contains the class you can't find.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
i alerady downloaded the code, tried to build it and run it, but the only build error this one, and i searched the whole code trying to find this class but i couldnt.
With msdn, there is something called WebFile object in the Microsoft VBA reference (here) , but its not clear because its not mentionned to which class or reference it belongs.
|
|
|
|
|
The class you're loking for is in ExternalFile.vb in the demo project.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks alot, in the version i downloaded this file was missing.. i searched the web and i found a complete version... i'll try it now..
thanks again
|
|
|
|
|
Works Perfectly, thanks again
|
|
|
|
|
I would like to total one of the datagrid row columns cells based on a code in another column cell in the same row.
Can anybody help ???
silver-gray
|
|
|
|
|
grid.rowcount()
nothing is impossible.....
|
|
|
|
|
I could be wrong, but I think that your answer will only count the number of rows in a datagrid. By running total, I mean total the value of a cell based on a value of another cell(column) in the row.
silver-gray
|
|
|
|
|
How can you set the datasource for a vb report in code?
|
|
|
|
|
How can you use textbox values on a form to populate a vb report? The textbox values are not bound to a database.
|
|
|
|
|
dptalt wrote: How can you use textbox values on a form to populate a vb report?
Do you mean a Reporting Services report? You can pass values from text boxes as paramters to an RS report.
|
|
|
|
|
I mean the report that has 'rdlc' as the file extension.
|
|
|
|
|
A simple way to do this would be to make these textbox values parameters to your report and report viewer will display texboxes for the user to provide values.
There are heaps of examples using report viewer at:
http://www.gotreportviewer.com/[^]
If you don't want to do it this way I would suggest you look up some help on using parameters with reports. There are some decent examples for using rdlc on MSDN.
|
|
|
|
|
Thanks for the info, that website is a good one.
For the solution to my problem: I found code on how to set the datasource of a rdlc report in code. In my application I'm using an SDK to query quickbooks for information that is return in a datatable. I can set the report datasource in code to this datatable and the report prints.
Thanks for your help!
|
|
|
|
|
Hello I was wondering if someone can please help me. I've written a vb.net program and have text displayed in a listview. The text is longer than my listview control but I don't want to drag out the box to make it bigger (I hope you all know what I'm trying to say). So my question: is there a way to scroll left to right in a listview to view the contents that may otherwise be longer than the size I have made my listview control? I've looked in the properties and could not find anything, for example for a listbox there is a property you can set it to scroll. Any help would be greatly appreciated. Thanks in advance. Sorry for the long question!!
|
|
|
|
|
There should be a listview property called 'Scrollable' that you can set to True.
David
|
|
|
|
|
Hello David, thanks for your advice. Unfortunately though, I've got that (the scrollable property) set to true and it still doesn't work. Thanks for responding though!
|
|
|
|
|
I have a listview that I'm using on a form and so far I've only needed to scroll left/right as my test database only have a few records in it. I ran a test and turned that property off and the scroll bar disappears..so that has to be at least part of it. What does your listview look like? If you'd like, post your listview properties and I can try to compare them to the one I'm using.
David
|
|
|
|
|
Hello-
I am trying to determine the index number of an item being hovered over in a combobox. So, as the
mouse moves over each item in the combobox, I determine that items index. Does anyone have a way of accomplishing this ?
I appreciate your help
Shawn
|
|
|
|