|
If you are not looking specifically to zip format and want good compression like winrar then try using zlib.dll its open source and free
Their site is zlib.net
|
|
|
|
|
Hello everyone,
During the installation of project, how can i save any file of project in system registry.
regards,
Syed Ali Raza Rizvi
|
|
|
|
|
You can't save a file in the registry. What are you really trying to do with this?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks to reply,
Actually i want that my project should work like "Trial Versions" does.
If project is installed on one machine then it should expire itself after 10 days of installation.
if someone try to install it again after changing the system date then it should check that, has project been installed on same machine before or not? if yes then it should stop installation.
I want to do such stuff for Piracy point of view of project.
Waiting for solution.
Regards,
Syed Ali Raza Rizvi
|
|
|
|
|
Your best bet is to use a 3rd party protection library. I don't know of any off the top of my head, simply because I don't sell my apps to the public.
Google for something like "vb.net developer copy protection library" and you'll come up with a bunch of libraries...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
i want to create font creator uisng vb.net. Fonts are ttf and otf fonts.Like i should create an editor where they can draw the fonts with the help of mouse.But it should be off TTf and OTf characteristics.So can any one help in this to approach.It is very urgent...
Regards
Ravindra
|
|
|
|
|
You could look up the TrueType file format, I believe it can be found at Wotsit's format[^].
Maybe you can find something useful at the FreeType[^] project.
---
b { font-weight: normal; }
|
|
|
|
|
|
I have some problems/bugs related to DataGrid .NET Framework 1.1 in Visual Studio 2003. These may be the real bugs or unawareness of how to use it. I faced this bug, when I used Data Grid Control for more specific purpose. The detail of the said bug is given below, please check it and give me your opinion or solution.
1- To read the value of any cell in current row which has not yet been the part of data source an exception is thrown with message “There is no value at index 0” here 0 is the index of row I am specifying syntax I am using is as follows
Messagebox.show ( grdDetail.Item( grdDetail.CurrentRowIndex, 0))
2- Validate Event of column style is raised 2 or 3 times
3- The focus did not stay in the same cell even when e.Cancel is set to true. The code lines are below:
Addhandler csUnitName.TextBox.Validating, new ComponentModel.CancelEventHandler(AddressOf csUnitName_Validating)
The code of event handler is written below.
Private sub csUnitName_Validating(byval sender as object, byval e as CanceEventArgs)
e.Cancel = True
End sub
4- I want to confirm deletion of a row from data grid when user tries to select and delete a row, I wrote following code
Addhandler dtUnits.rowDeleting, new rowChangedeventhandler(AddressOf Unit_RowDeleting)
Private sub Unit_RowDeleting(byval sender as object,byval e as rowchangedeventargs)
If messagebox.show(“Are you sure you want to delete”,vbYesNo) = vbNo then
Throw new Exception (“Action Canceled”)
End if
End sub
Everything is working well and good but when user presses No button and exception is thrown the value in first cell of that row is lost I tried a lot to save it but all in vain.
I request further that if anyone has implemented fully loaded grid with maximum events of its data source (Data Table) please send me its code for it could guide me through the right way
|
|
|
|
|
how to make windows programs terminate when the vb.net application is running. beside that the users cannot touch any system inside windows again until the vb.net application logoff.
|
|
|
|
|
ghost181 wrote: how to make windows programs terminate when the vb.net application is running.
Check out the Process class[^]. It'll do what you want as far as stopping processes.
ghost181 wrote: the users cannot touch any system inside windows again until the vb.net application logoff
That is something you CAN'T do in code. This is better left up to Group Policies. You can find more information about setting up a machine for Kiosk mode operation in the Windows XP Resource Kit.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
How can I get the CPU Temperature in vb.net please help me. it's needed by me.
|
|
|
|
|
Not every machine exposes this and not every manufacturer does it in the same way. You're best hope is that your motherboard manufacturer exposes this through Windows Management Instrumentation (WMI). Check out the docs on WMI here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I WANT TO BUILD A MEDIAPLYER WHICH WILL PLAY .MP3 FILES OR ANY OTHER AUDIO FILES.NOW I WANT TO CUT A PORTION OF THAT AUDIO FILE AND SAVE THAT. PLAEASE HELP ME.
-- modified at 0:33 Wednesday 16th August, 2006
|
|
|
|
|
STOP SHOUTING !!!!
Do you want to build one, or do you want to wrap Media Player in your own GUI, like everyone else does ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
i want to build my own media player ..which have a facility that will allow user to cut and save a portion of .mp3 file .
|
|
|
|
|
OK. What programs have you written in the past ? How do you intend to do this ? Windows Media Player will allow you to play files ( so your program will work on any PC that has WMP installed ), but not to cut files. I know an MPEG can be cut arbitrarily, not sure about an MP3. The tag information is on the end, you'll just lose that unless you read and recreate it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
thanks a lot for ur reply
i have used System.Media namespace and create an object of SoundPlayer class to play. but i am unable to play .mp3 file.
thats why i want this time to build a media player which will be able to play .mp3 file.
can u please help me.to solve it ..
|
|
|
|
|
If you use media player as a control ( which I think I've said every time ), you can play mp3 files.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
yes you are telling it every time .but i think i can only play a .mp3 file if i use media player control, but not to cut a portion.thats why i am trying to build a media player which will play .mp3 and to cut and save a portion of that .mp3 file.
|
|
|
|
|
Someone shoot me.....
Cutting an mp3 file and saving it to disc is something you can do in your own code, regardless of if you use WMP or not. If you don't, you have a whole lot of work in front of you. Certainly more work than you're going to get explained to you in a forum response.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
thanks..but can you please tell me code so that i can track and display the time length of the audio file..
|
|
|
|
|
Christian Graus wrote: Someone shoot me.....
You are WAY more patient than I am - I would have given up long ago.
|
|
|
|
|
Christian Graus wrote: Someone shoot me.....
Click, Click...Click...Are you sure about this??
As a friend, I have to ask you if this is really what you want. And as a friend, I am duty-bound to help you end this misery!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks.... I think :P
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|