|
OK, so all you need to do is get the file path from the dataset and then tell your media player component what the file path to play is. The BindingSource cannot be bound to the player, so you'll have to pass that file path along yourself.
|
|
|
|
|
hi everyone
i am with difficulties in translate the next line of code from c to VB.net
can anyone help me?
protected: std::vector<class*> something
best regards
|
|
|
|
|
|
From what I read in the article about how to post questions, i understand that i should ask to the experts. so i am asking to the experts of vb because my question is about vb not c.
thanks for your reply.
i already watch the article indicated by you, but i still don´t understand completly because the question of pointers in vb.
i am sorry if i post in the wrong place.
|
|
|
|
|
Yeah, but you're looking for an explanation of what the C code does, not the VB code.
|
|
|
|
|
Translating from C to VB.NET is a lot of work. the List class is the equivelant of std::vector.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
translating from c to vb is what i am working now. i as working in c to microprocessors, so now i am with lots of questions.
i understand that i have to use the List class. but how do i use now the pointer as the type of the data ? is the same as in c?
thanks for your previous reply
|
|
|
|
|
VB.NET doesn't support pointers, so you have to look at what the concept behind the code was and rewrite that concept in VB.NET. You cannot get away with a line-for-line translation when going from C to VB.NET.
|
|
|
|
|
Thanks for all your replys and sorry about the bad post
|
|
|
|
|
I've been revisiting the old SQL highlighter rich text box using the MSSQLParser.vbSQLParser to do all the work for me and it works fantastically with hardly any coding at all, however, there does appear to be a mistake in it -
if a string in quotes has a carriage return in it, only the part of the string upto the carriage return is colored correctly, the rest of the string is colored as if it wasn't inside the quotes which is different from how the SQL Query Analyser would handle it. Has anyone come across the problem and if so do you have a code snippet which I could run after MSSQLParser.vbSQLParser to fix the error?
Here's hoping,
Paul
|
|
|
|
|
Hi,
I think I have this all working fine, and I can send you the code if you need it. However, I want to know how I can use the parser without SQL Server on the same machine. It all works fine on all our dev boxes, but probably because MSSQLParser relies on some other SQL DLLS, I haven't got it working on boxes without SQL Server.
Any tips would help.
Thanks
Rich
MOP # )
|
|
|
|
|
I generate a PDF by exporting from crystal report with VB code inside. I use ADO.net data set. In my pdf each page contain information of a certain institution including its name. I generate all good, but like to bookmark all institution name in PDF . How to do it?
|
|
|
|
|
AFAIK, Crystal Reports doesn't support bookmarking, so you'll have to do the export, then report the PDF using another library that DOES support bookmarking and have your code make the changes appropriately. I have no idea which libraries do and do not support this. It's going to be a matter of Googling and doing the research on them.
|
|
|
|
|
Where can I download POS system and payroll system samples made with VB.Net 2005
|
|
|
|
|
Google for them.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I think he is looking for apps that he can grind the numbers off and rebadge.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thats what I thought too!
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Dear All, Kindly assist me with a code to transfer the contents of one dataset to another starting at dataset starting at row 1 of the new dataset.
Thanks for your assitance.
|
|
|
|
|
Well cheifo, that question is a pretty sad commentary on your knowledge
foreach datatable in dataset
tablenew = table.copy
datasetnew.tables.add(tablenew)
next
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi,
I have a program that needs a way to modify some variables in an instantiated form.
For example, I can have like 5 instantiations of frmLive, each having a sample() array.
Now, I want one frmEdit to be called and allow me to edit the sample() array of the frmLive who called it.
Hope you get the idea.
Thank you for any tips.
|
|
|
|
|
you can pass the variables in to a constructor, set properties on the form instance, or if the form is showing and properties are not an option, you can set up delegates to call methods in the form instance to tell it the new values.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
When you open the instance of the form you can pass it the parent of the form as follows :
frmEdit.Show(me)
You can the reference the Parent form from the child as follows :
Dim frmParent as Form = Me.Owner
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Yes, but then to access your own properties, you need to cast it, which means the child needs to know too much about the parent. Delegates are better.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
I have written code to compress a file in to exceed zip, it is zipping properly but, I am able to open the compressed files, but the compressed file is not coming with the default ExceedZip icon.
I am not getting the reason.
Can anybody please help me in resolving it. The Code that I wrote is below
<pre> Dim objZip As New XceedZipClass
objZip.SpanMultipleDisks = xcdDiskSpanning.xdsNever
objZip.PreservePaths = True
objZip.ZipFilename = "C:\Aleem\Sample.W02"
objZip.BasePath = "C:\Documents and Settings\MAleem\Desktop\Desktop123"
objZip.FilesToProcess = "NA1_121802_B_Address_Chg_Generic.pdf" '"C:\Documents and Settings\MAleem\Desktop\Desktop123\NA1_121793_B_Address_Chg_FTB.pdf"
objZip.ProcessSubfolders = True
Dim bol As Boolean = objZip.License("EEC29EF5A7772D2DCAF844A51A10BECC") 'objZip.License("") '
Label1.Text = objZip.Zip()</pre>
Thanks a Lot,
Aleem Mohammad.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
If the filename is not xxx.zip, it won't have a zip icon, the file system handles that.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|