|
Or try to deploy your project and there u can add a serial number or cd-key it aguation its output must be divisable by 7
|
|
|
|
|
Dear Frns,
I am using dataset to load a .DBF file ,the provider downlaoded is foxpro provider. But sometimes it gives a provider error ,I dont know why it is like this
Exception Raised is :
" The Provider could not determine the decimal value.For Example, the row was just created,the default for the Decimal column was not available,and the consumer had not yet set a Decimal Value "
I am able to load or fill dataset in some cases but sometimes it fails
Plz help me in this regard
hi it is rudra
|
|
|
|
|
I am using C# and i like to check if the the same application currntley run when i start the application .
M. Gamal
|
|
|
|
|
you can get all the processes that are currently executing and then check
whether ur application exists in those processes.
Regards,
Pramod
|
|
|
|
|
Can u send me the code of that check please ??
M. Gamal
|
|
|
|
|
Is it possible to include some .Net references to compiled file?
For example: I use Microsoft.Data.Odbc (I have installed "Odbc Net" additionally to Net.Framework), but if I run my programm on another computer all Microsoft.Data.Odbc functions dont work until I install there "Odbc Net".
Is it possible to make so that all: System, System.Windows.Forms, System.Drawing, Microsft.Data.Odbc libraries ... were included to compiled file?
|
|
|
|
|
|
I'm trying to create a windows service, and came about knowing that services require explicit installation. I'm still unsure of how to go about doing it after reading some references, hope for a simple explanation, thanks.
|
|
|
|
|
Search the Articles and ye shall find this[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello all,
I have try Bass API's for my application. But in that code when i Initialize that class(as all methods are static no object require) i face some error like.
when device is default(-1) then error BASS_ERROR_DEVICE,
When device is 0 then no sound & all other methods are fail.
When device is 1,2,.. then initialize success but all other method give error of "proeced memory access".
Plz any one give reply as fast as possible.
Divyang Mithaiwala
-- modified at 4:08 Saturday 21st January, 2006
|
|
|
|
|
You were already told that we really can't support your .DLL. It's VERY unlikely anyone who has ever used the .DLL will see your posts.
Again, your best shot at getting help with that library is the people who wrote it. Try asking questions about how to use their library in their support forums[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
How to down size video file(mpeg, AVI, wmv)
- reduce bitrate video and bitrate audio
- reduce resolution
use C# code and detail
I want to see code and detail
|
|
|
|
|
How to reduce bitrate for music(mp3, wave, wma)
I want to reduce bitrate for music(mp3, wave, wma) with C#
I want to see code and ditail
|
|
|
|
|
Here's[^] a bit of an example on CodeProject.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I want to run a program when the computer is locked. Is there any easy way in C# to determine if a computer is locked?
|
|
|
|
|
Can you show me some examples about the diffence between Binary and Text file?Thank a lot.
Nothing
|
|
|
|
|
The only difference is how you read from it and write to it.
When you read from a binary file, you read bytes, and when you write, you write bytes.
When you read from a text file, you read characters. One character can be one or more bytes, depending on the encoding you choose to use. When you read the character it will be converted to unicode, as that is the encoding used by the Char data type. When you write to a text file, the unicode characters will be converted to one or more bytes, accordning to the encoding you choose to use.
---
b { font-weight: normal; }
|
|
|
|
|
Another obscure difference is how some daemons transfer files. Take FTP, for example. When you transfer files using ASCII mode line-termination characters are converted from the host (server) platform to the client platform automatically. This isn't transcoding (coverting encodings) but changing the way line-terminate and new-line characters are handled on the target platform. In BINARY mode the file is downloaded as-is.
Another thing typically of text files is a byte order mark, or BOM. ANSI files (ASCII characters are the first 127 bits) are 1 byte characters and multi-byte files derive from ANSI and may be up to 4 bytes. This is similar to UTF-8 which is a multi-byte standard. Unicode is either 2 byte or 4 byte characters (UCS-16 and UCS-32). Crazy, huh? How do you tell the difference?
Enter BOMs. ANSI files won't have them (no standard is defined anyway), but UTF-7, UTF-8, and Unicode files will have BOMs to help application like web browsers identify the encoding so the characters can be displayed correctly. Browsers and other application may also employ heuristics to guess the encoding if not explicitly mentioned (in browsers the encoding is described in HTTP headers or META tags in the content).
Binary files are what they are - a stream of bits that you interpret as the bits themselves - no encoding, no new-line or line-termination characters, no BOM...just as-is data.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft
[My Articles] [My Blog]
-- modified at 21:18 Friday 20th January, 2006
|
|
|
|
|
How about the structure of data to write in a file?
Nothing
|
|
|
|
|
What about it? The structure is determined by the person who wrote the application that wrote the file.
Or did I misunderstand your question.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello,
I'm using the browser control of vs.net 2005 and what I am trying to do is to display a file like an image via stream and not using the physical file path. Can this be done? I have tried using the DocumentStream property but only displays the file in garbled text.
Many thanks.
|
|
|
|
|
Using the WebBrowser.DocumentStream property is correct but it depends on what your stream contains. What are the contents of your stream? The stream can only contain plain text. Anything else will just be interpreted as plain text, so binary files will not be interpretted or handled correctly.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
I guess I am out of luck since I am trying to display a stream of image and a pdf. Oh well, thanks.
|
|
|
|
|
You're not out of luck - there's just not a simple solution. The WebBrowser control is an ActiveX container and hosts things like MSHTML (the rendering engine for IE), Word, Acrobat (Reader), etc. It involves getting RCWs (runtime callable wrappers - a managed interface wrapping a native COM interface) and loading an IPersistFile interface (or a small handful of other, similar interfaces). Of course, you could always just navigate to the file and IE (a la the WebBrowser control) will take care of the rest.
For the former method, search for "WebBrowser.DocumentStream" and you'll find some helpful tips.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
Hi,
First, I apologize if this is not the proper forum to ask my question.
I have a .NET 2.0 Windows Form App which uses BindingNavigator, BindingSource and DataSet.
The user can use the AddNew and Delete buttons of the BindingNavigator to Add/Delete records to the underlying typed DataSet.
In my particular case, I'm showing a Work Order record whose PK is also the table's IDENTITY field (MS SQL 2005).
My DataSet is setup with negative increment for this PK in order to avoid clashes.
So, when the user clicks the AddNew button, he sees a negative Work Order number showing up until the Update method is called on the TableAdapter. This could be a source of confusion in some users, so I'd like to proceed differently.
Should I handle this field manually, getting from the DB the highest Work Order number right when the record is created in the DataSet ? If so, how do I take care of concurrency in the case another user also creates a new Work Order before first user actualy commits his new record ?
Or should I simply call Update right away when the record is created ?
I assume this is a very common issue in DB programming.
Thank for any tips.
Luc Morin
|
|
|
|