|
By using DirectShow or the Windows Media Player control.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Can someone tell me what's the sqlce connection string in vb.net environment?
I get the error as below:
Description:
Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\test\test.exe'. Error 0x80070020: The process cannot access the file because it is being used by another process.
File:
Device Connectivity Component
I had restarted my PC but the problem still there.
|
|
|
|
|
Hi all,
We have an aspx which show a list of crystalreports in pdf formats.Now user wants to print all of them at one GO.We are able to show all the PDF's in one PDF but when we give Print command it shows empty page.
So can we print the reports directly to the printer all at one go.Please help me with the coding.
"PLEASE HELP ME ITS VERY URGENT"
My code goes like this
Dim rArray(Rlist.Count + rList1.Count - 1, 1) As String
Dim counter As Integer
For counter = 0 To Rlist.Count - 1
Dim oneReportItem As ReportInfo = Rlist.Item(counter)
reportsArray(counter, 0) = oneReportItem.SchID
reportsArray(counter, 1) = oneReportItem.ReportID
Next counter
For counter = Rlist.Count To UBound(rArray, 1)
Dim oneReportItem As ReportInfo = RList1.Item(counter - Rlist.Count)
reportsArray(counter, 0) = oneReportItem.SchID
reportsArray(counter, 1) = oneReportItem.ReportID
Next counter
Session("reports") = reportsArray
Durga
|
|
|
|
|
I already have a connection for my project; how do I use the sql commandtext and define the connection without going through the conn = MS jet; path etc. If I have to do the conn = ms jet, path, etc. will I be opening another connection to the same database?
Thanks for your time. Scott
|
|
|
|
|
Hello Folks,
I am trying to overide my .net 2.0 DataGridView
I have a gird of 10x10 thus I have hundred cells in that grid. But for each cell I want to save three values. I have override my Treeview to save three values but cannot do the same for DataGridView component. Any Hints please
Umair
Umair Lateef
|
|
|
|
|
GWbasicProgrammer wrote: But for each cell I want to save three values
And those would be??? Each cell can only hold a single value or object, so you'll have to provide a bit more detail as to what your talking about.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
VS 2005 / Framework 2.0 allows you to store settings as User Settings and Application Settings replacing the older style App.Config in Framework 1.0. You can now publish your application and any updates can be forced to the end-user. Unfortunately when you publish the user settings that the client is able to change with my form and save, get wiped out to default. Also, if I setup Isolated Storage for the settings to be stored into, when I re-publish once the app has been in production for a while, it resets everything to default.
Am I missing something? Microsoft gives you the capabilities to store a users own settings for their app, but boom when you republish, the settings get reset to default.
Any insight is appreciated..
Lost in the vast sea of .NET
|
|
|
|
|
I had this same problem with an issue. I decided it was easier just to store my values (I only had a few) in the registry by user name.
Hope this helps.
|
|
|
|
|
In VB2005, how can I dinamically create a Timer inside a class without using the control. I suppose that I have to use the System.Timers.Timer class but I don't know how to handle the Elapsed event.
Thanks in advance,
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
Do you mean something like this?
Private Sub TimerForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Timer1 As New System.Timers.Timer()
AddHandler Timer1.Elapsed, AddressOf TimerEvent
End Sub
Private Shared Sub TimerEvent(source As Object, e As Timers.ElapsedEventArgs)
MsgBox("Hello World!")
End Sub
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
Just declare it withevents. Example: Withevents tmr as new timer
|
|
|
|
|
Yep thanks, I missed the WithEvents modifier.
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
I've been trying to find the best way to load data from SQL into a DataGridView. Obviously I could just load it into a DataSet with a SqlDataAdapter and set the dataSource of the DGV to the DataSet, but i'm having issues because there are 120,000 records that need to be loaded, and this takes quite a while to load DataSet from the adapter. I guess this isn't an issue with the DGV, but loading the data into the dataset.
Nathan Lindley
|
|
|
|
|
Maybe you should only grab the number of records that you are going to display in the grid at a time?
|
|
|
|
|
Well i was going to have them be able to scroll through the list instead of forcing them to search for a specific set of records, but that seems to be the only way.
Thanks
Nathan Lindley
|
|
|
|
|
I guess my only other suggestions for making it faster are to make sure that you are selecting ONLY the columns that you absolutely need in the grid, and to do everything you can (in terms of formatting) in the SQL statement so that you do not have to loop through the records to format after you have retrieved them.
Good Luck.
|
|
|
|
|
Agree.
Thanks Again.
Nathan Lindley
|
|
|
|
|
I have just installed VB .NET having spent several years using VB6.0. I have converted my VB 6.0 application to .NET and have the following error message:
VBControlExtender property inetftp was not upgraded
As I an new to VB .Net, can anyone help me please?
Rod
|
|
|
|
|
I was wondering if anyone knows of an image editor that works with vb.net on windows XP. It would be like Kodak Image Editor but would work with XP.
I have tried to put a picture into a panel but the problem I have is that I cannot zoom the image (picture). I am looking for something that will enable me to change size of the image once it is inthe vb code. Just like the Kodak or is there a way to do this.
Help
|
|
|
|
|
|
I do not like using third party tools but if there is nothing else will have to go for it.
Is it simple to put into the vb.net coding and does it come as an icon on the vb.net component toolbox
|
|
|
|
|
Paint.NET comes with source code. You can see how they manipulate images.
|
|
|
|
|
This is trivial. Just draw the picture yourself, and use a scale transform on the Graphics object, change the scale according to whatever UI you want to control zoom.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
I am capturing a file from a folder and displaying it.
How would I go about changing the scale as you suggestion as by now you will realise I have not got a clue. New to this.
|
|
|
|