|
try write values in AssemblyInfo.cs file, like AssemblyTitle().. and so on.
|
|
|
|
|
I added that line, but didn't see a change, so I started digging around in my registry. I simply modified the line that was already there:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]<br />
" program path here"=" program's title or name"
And now it works fine.
Thank you, though! I'm sure your way would have worked if I had done it in the first place and restarted or something...
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
Dear Freinds,
I wanna make a program that take attaches from Micrsoft word file and send it as a fax through a Modem FAX
|
|
|
|
|
i dont actually know but what i used to do was to print the material with fax printer enable when configured - requires fax enable modem)
-- modified at 16:04 Monday 6th November, 2006
It is Good to be Important but!
it is more Important to be Good
|
|
|
|
|
hi - i'm a newbie at c# programming for pocket pcs (mainly a c/c++ programmer)
i'd like to believe i've gotten the hang of it but some things still escape me
like i used the GZipStream to uncompress an http web response stream on the regular framework and it works fine - but when i move to the pocket pc it seems i am not allowed to create a GZipStream (the compression namespace is unavailable)
i'd appreciate any help anyone can give me
i want to achieve the same result in any way possible (if there is a simple algorithm i could just plug in then great - or a way to include the class then even better)
btw i have tried SharpZipLib and it didn't work (it threw an exception saying
"Error baseInputStream GZIP header, first byte doesn't match")
thanks so much to anyone who took the time to read this.
|
|
|
|
|
|
Hi,
I want to write some big text datainto wmv file(>64k). So I need the IWMHeaderInfo3 . I have the WMEncoder object. How to get IWMHeaderInfo3 interface from WMEncoder?
Regards,
Hemant.
|
|
|
|
|
Hi,
By calling Dataset.WriteXml, my code produces XML as listed below.
The user can also load the XML file, and I will use Dataset.ReadXML to do this. Preferably before calling that method, I would like to validate the schema of the XML to ensure that it has the same structure as an XML file produced by WriteXml. How can I do that?
At present, I am loading the XML file and writing code like this:
ValidXml =
(LoadedOk) &
(dsKeysAndValues.Tables[dsnKeysAndValues].Columns[KeyGroup] != null) &
(dsKeysAndValues.Tables[dsnKeysAndValues].Columns[ValueGroup] != null) ;
The code not only doesn’t work, but it also doesn’t seem elegant – if the XML file is large, it will take time just to load the file, before I can validate it.
How can I validate the schema of XML to ensure that it matches what I am expecting?
Thanks for your help, pointers, and time!
Richard
The mystery is out there – in the XML-Files (X-files music follows…)
XML produced using WriteXml:
<?xml version="1.0" standalone="yes"?>
<KeysAndValues>
<xs:schema id="KeysAndValues" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="KeysAndValues" msdata:IsDataSet="true" msdata:Locale="en-CA">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="KeysAndValues">
<xs:complexType>
<xs:sequence>
<xs:element name="Key" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Value" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<KeysAndValues>
<Key> K1</Key>
<Value> V9999</Value>
</KeysAndValues>
|
|
|
|
|
Take a look at the XmlValidatingReader class. It's obsolete in .NET 2.0 but the MSDN topic also provides links to topics that present you what to use instead.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi Stefan,
Thanks for your help.
Richard
|
|
|
|
|
Hi,
I want to convert a char array to System.IntPtr. How can I do this?
I written the following code wich gives error as cannot copy to null value
string metadatapath2 = "C:\\BigMetadata.txt";
StreamReader myStreamReader1 = new StreamReader(metadatapath2);
string bigdata = myStreamReader1.ReadToEnd();
char [] dataarray = bigdata.ToCharArray();
System.IntPtr myDataptr = new System.IntPtr();
Marshal.Copy(dataarray,0,myDataptr,dataarray.Length*2);
Thanks in advance
Regards,
Hemant.
|
|
|
|
|
You can't convert a char array to an IntPtr. An IntPtr is just a pointer in a form that can be handled by managed code.
What your code is currently doing is trying to copy the data from the array to the memory area that the pointer is pointing to. As you haven't allocated any memory area and made the IntPtr point to it, that is impossible.
What you have to do is to get a pinned memory area, either by allocating unmanaged memory and copy the data to it, or by pinning the dataarray, and make the IntPtr point to the memory area.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
Thanks for urgent reply.
How can I allocate a memry and get some data copy to that memory ad get its pointer back?
Regards,
Hemant.
|
|
|
|
|
Look at the AllocCoTaskMem and AllocHGlobal methods in the Marshal class. In the documentation you will find some information on when to use which.
---
b { font-weight: normal; }
|
|
|
|
|
in the name of god
hi.
how can i get local mouse in richtextbox?(for get text under mouse)
tankyou
|
|
|
|
|
In the name of Jesus the Messiah (allow me to return the favor)
You can get the local mouse position like this:
Point localMousePosition = myRichTextBox.PointToClient(Control.MousePosition);
Then you can get the text character under the cursor like this:
char character = myRichTextBox.GetCharFromPosition(localMousePosition);
|
|
|
|
|
I have two controls working together, a list of items and a datagrid. What is selected in the list will determine what is displayed in the datagrid. The datagrid is bound to an ArrayList of objects via datatable that will create one to N rows with seven columns. I have the read only property set to true. What I've noticed is if I select a cell and then select a new item in the listbox, the cell item will remain on top. (The new value is underneath.)
On each new selection, I clear the datatable, set the datagrid source to null and then refresh the datagrid. I then rebuild the table and add it to the datagrid table styles.
If the first display has three rows and I click in a cell on the third row and then select an item in the listbox that only will display one row, the selected text from the previous display remains displayed in its position.
Any ideas? Thanks for the help!
Don
-- modified at 0:56 Sunday 5th November, 2006
|
|
|
|
|
CAn any buddy help me in hair styling software. I losd he pictuire of the client and now want to appl some hair styles on him. How can I make the hair styles and apply them. For refrence pleez see the following link I want this kinda software
http://www.salonstyler.com/download/sspdemo.exe[^]
CAN SOMEONE PLEEZ HELP ME. Im a student and this is my final project. THANX
|
|
|
|
|
We don't write software for you. Do you have any C# specific problems?
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Actually I want to know whether this project can be made in c# or not.... Thats is actually my poblem I cant figure out whish language or toool to use. Jus wanna know abt it........
|
|
|
|
|
Yes, you can use C# to create an application doing what you want, if that's all you want to know.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Greeeg, can you please write a program for me? It needs to be cool. Who cares that it's my own school assignment that should reflect how much I've learned in class...
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
I'll write it for you.
.
.
.
.
.
.
.
How much do you pay?
modified 12-Sep-18 21:01pm.
|
|
|
|
|
FYI:
Don't link directly to an executable. Who in his right mind would use the link?
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote: Who in his right mind would use the link?
Ummm... This guy[^]
|
|
|
|