|
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.
|
|
|
|
|
Hi,
Yes, I have tried by putting .exe, zip and with no extention but nothing worked fine. can anybody please help me in doing it.
Thanks a lot,
Aleem Mohammad.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
Have you tried saving it as a .ico file and importing it as a resource?
|
|
|
|
|
The operating system just looks at the file extention to pick the icon that it's going to show for that file. If .ZIP is the REAL extension of the file (did you turn on Show File Extensions in Explorer??), AND there is a registered application that handles .ZIP files, the file you write will be shown with whatever icon the application registered with Explorer.
There is NO code you can write the will change this!
|
|
|
|
|
Dave Kreskowiak wrote: The operating system just looks at the file extention to pick the icon that it's going to show for that file. If .ZIP is the REAL extension of the file (did you turn on Show File Extensions in Explorer??), AND there is a registered application that handles .ZIP files, the file you write will be shown with whatever icon the application registered with Explorer.
There is NO code you can write the will change this!
My mistake, I thought he meant his app would show the contents of a directory and he wanted his own icons...
quite frankly I'm not sure I even understood what I just said.
Apologies.
Elie Aintabi
|
|
|
|
|
I have got a question about DirectSound that I hope someone can help me with. I have made a test application with three buttons and one label.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim _dev As Device = New Device
_dev.SetCooperativeLevel(Me.Handle, CooperativeLevel.Priority)
Dim BufferDesc As BufferDescription = New BufferDescription()
BufferDesc.ControlVolume = True
BufferDesc.GlobalFocus = True
Dim TheSound As SecondaryBuffer = New SecondaryBuffer("C:\Test.wav", BufferDesc, _dev)
TheSound.Volume = -500
TheSound.Play(0, BufferPlayFlags.Looping)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
My.Computer.Audio.Play("C:\Test.wav", AudioPlayMode.Background)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
For I = 1 To 100000
Label1.Text = I.ToString
Application.DoEvents()
Next
End Sub
Now if I run the application and I press Button1 and then I press Button3 right after the sound stops. If I instead press Button2 and then Button3 the sound continues.
So my question is how can I make the DirectSound continue playing a sound without getting interupted when other code is executed?
Thanks in advance!
|
|
|
|
|
I don't know how, but I know that directsound lets you play multiple sounds at once, that's half the reason to use it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Well obviously that reason, together with being able to adjust the sound are the reasons to why I want to use DirectSound in the first place, else I would just have sticked with "My.Computer.Audio.Play". And both those things works perfectly, both to adjust the sound and play several sounds simultaneously. What I haven't been able to solve is to make the sounds continue playing when certain other types of code is being executed. (Like in the above example).
|
|
|
|
|
Put the code from button3 in a seperate thread.
Don't know if it will work but that would be my first try
|
|
|
|
|
Thanks for the tip. However I have already tried that and unfortunately that did not solve anything. I have also tried to put the code in Button1 in a separate thread. And just to make it even more clear if I would add a menu, just clicking on the menu (with no code attached to it) could make the sound stop. (Sometimes it does, sometimes not, keep clicking the menu and it will stop for sure.)
|
|
|
|
|
I would appreciate if someone could help me.
|
|
|
|
|
Uhhh...what? This isn't even your thread, so noone is going to have a clue what you're talking about.
|
|
|
|
|
Hi Guys,
I have written an application using vs2005 that connects to sql2005.
i have installed it on several user computers.
how can i prevent a user from copying the exe/program from their pc and using it on another site/company.
i have thought about hardcoding the m/board serial number into the app(but this is not a good option)
i also thought about creating a license file but not sure on how to cos the user can copy the exe and lic file as well.
any ideas?
thanks in advance...
Anoop
|
|
|
|
|
preventing a copy isn't possible (for as far I know)
What you could do is generate a code (using the pc name or something else unique for that pc) wich the user then has to send to you and you create a key from that (and send it back to the user).
That way the key is specific for the pc and even if the user copy's the file (and try's to use the same key) the program is not going to work (will ask for a new key)
You can store the key anyway you like since it is pc specific.
|
|
|
|
|
Hi Thanks for your response ,
do you perhaps have a sample project or maybe a site i can visit for ideas?
Thanks Again
Anoop
|
|
|
|