|
|
new to tablet pc application. is it possible to get noncontionous regions on which i can ink on a single form. i need ascii representation of character followed by its glyph for all the characters on a single form.i want to define area for each character separately. the stroke for one region should not interfere with the ink area of other.
right now i m using groupbox as a control and line control dll to draw horizontal lines so as to draw glyph in defined area.
InkOverlay mInkoverlay;
mInkoverlay = new InkOverlay(groupBox1);
mInkoverlay.Enabled = true;
thanks in anticipation
|
|
|
|
|
Are you going to post the same question here everyday until you get an answer?
You may have more luck in the Mobile Development forum.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Hi all,
I want to convert samples in a wave file to byte address in the file(MPEG Layer3 format) ...
Please help me.
thank you.
Every new thing you learn,Gives you a new personality.
|
|
|
|
|
That's not exactly easy, and will depend on factors like the number of channels, and the compression level used. If you're using variable bit rate compression, it gets even more complicated.
Ideally, you should start by learning about the mp3 format. A good source of info is http://www.mp3-tech.org/[^], particularly in their "Programmer's Corner" section. I wrote my first decoder based mostly on what I learned there.
PS - if you're writing mp3 software, C# may not be the best tool for the job...
There are three kinds of people in the world - those who can count and those who can't...
modified on Sunday, June 14, 2009 2:26 PM
|
|
|
|
|
Hello,
I was just wondering how I can restart a C# Console Application to its main method? Please help.
[X] 100% HTML
[ ] 100% PHP
[ ] 100% C#
|
|
|
|
|
Simplest way would be to terminate the entire process, and relaunch it. Take a look at Process.Start
I are troll
|
|
|
|
|
Console.Clear();
I know nothing , I know nothing ...
|
|
|
|
|
Call it recursively?
|
|
|
|
|
One way to do it is to add using System.Windows.Forms; to the top and call Application.Restart(); . You may need to add the reference: "System.Windows.Forms.dll" to your project.
I'm not sure of the implications if there are any for using it in a console application.
modified on Tuesday, August 31, 2010 1:54 AM
|
|
|
|
|
Hello,
Does anyone know for some tools which can export merged cells from excel to CSV. For example CSV should look's like this part:
Godina,Mjesec,"AKTIVA; Neto strana aktiva; Strana aktiva","AKTIVA; Neto strana aktiva; Strana pasiva","AKTIVA; Neto strana aktiva","AKTIVA; Domaći krediti; Potraživanja od centralne vlade (neto)","AKTIVA; Domaći krediti; Potraživanja od kantona i općina","AKTIVA; Domaći krediti; Potraživanja od nefinansijskih preduzeća","AKTIVA; Domaći krediti; Potraživanja od privatnog sektora","AKTIVA; Domaći krediti","AKTIVA; Aktiva Ukupno","PASIVA; Novčana masa (M2); Novac (M1); Gotovina izvan banaka","PASIVA; Novčana masa (M2); Novac (M1); Depoziti po viđenju u domaćoj valuti","PASIVA; Novčana masa (M2); Novac (M1)","PASIVA; Novčana masa (M2); Kvazi novac (QM); Depoziti po viđenju u stranoj valuti","PASIVA; Novčana masa (M2); Kvazi novac (QM); Oročeni i štedni dep. u domaćoj valuti","PASIVA; Novčana masa (M2); Kvazi novac (QM); Oročeni i štedni dep. u stranoj valuti","PASIVA; Novčana masa (M2); Kvazi novac (QM)","PASIVA; Novčana masa (M2)","PASIVA; Obveznice i instrumenti tržišta novca","PASIVA; Ograničeni depoziti","PASIVA; Protustavke fondova","PASIVA; Vladini fondovi za kreditiranje","PASIVA; Ostale stavke (neto)","PASIVA; Pasiva Ukupno"
Fields are separated with commas "," but "tree" structure for each field is delimited with ; .
Godina
Mjesec
AKTIVA
-+Neto strana aktiva
-+--Strana aktiva
-+--Strana pasiva
-+Domaći krediti
-+--Potraživanja od centralne vlade (neto)
-+--Potraživanja od kantona i općina
.....
You can find example of such table on url: http://www.cbbh.ba/index.php?id=33&lang=bs&table=monetarni_pregled[^]
|
|
|
|
|
You might take a look at FileHelpers v2.0 - Delimited (CSV) or Fixed Data Import/Export Framework[^].
The library has the ability to deal with both xls and csv files/values.
Of course you will have to decide for yourself if it will solve your problem.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Thanks I will take a look on it, it seems to me as very interesting library.
Best regards,
Fehim.
|
|
|
|
|
Hello,
I want to convert datagridview to excell.
I need to create a button that will do it.
Every time that i click on it , it will create a new worksheet (in a specified workboox- or a file).
Also i need it to autoresize the columns width (as in the datagrid) and change the background of the headercells to some color (doesn't matter which).
How can i do it?
|
|
|
|
|
You can try to do that with:
http://www.devexpress.com[^] components which are not free but they worth.
You can export datagrid in excel/pdf/html/xml ... with few lines of code.
In order that you want to use "native" datagridview, you can try to save underlaying dataset to excel using JET drivers or ODBC connection.
Here is how you can made connection:
public OleDbConnection Conn
{
get {
if (conn == null)
//conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filePath + ";Extended Properties=Excel 8.0;");
conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + filePath + ";Extended Properties=Excel 12.0;");
return conn;
}
}
Best regards,
Fehim.
|
|
|
|
|
I didn't understood so much what does it mean using the connection...where do i write the sql query etc. And i need it to autoresize the columns with and copy the header cells too (with background in the header row (cells).
|
|
|
|
|
on this way you can't resize columns , for that purpose you must use excel com objects. There is a lot of resources on internet. Did you look on this one: Simple Excel Automation using C#[^]
|
|
|
|
|
Response.Clear();
Response.AddHeader("content-disposition", "attachment;filename=FileName.xls");
Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentType = "application/vnd.xls";
System.IO.StringWriter stringWrite = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
myDataGrid.RenderControl(htmlWrite);
Response.Write(stringWrite.ToString());
Response.End();
I know nothing , I know nothing ...
|
|
|
|
|
|
Take a look at Single Instance Application in C#[^].
There are several other articles about this on the web, I found the one above and loads more by googling single instance c#.
Give it a go yourself if the one given is not good for you.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
To add to Henrys' comment: Don't post your email address, unless you really like spam!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Well spotted. I didn't notice that amongst all the beautifully formatted text.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
i thought i didnt post my email.................where did u saw it....so zat i can remove it.............tnx 4 z help
|
|
|
|
|
In your original post:
matiIsGreat wrote: please ppls help me with this problem.............I made a program with C# and prepare a set up to be installed to the user computer...........but after u install it u can open many instances of the program @ one time............so how can i make it to be opened only 1 @ a time......if i didnt make that my buyer is not going to buy me.......so plz help me(my email is getXXXX@XXXXXXil.fm )...thank you all
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
tnx dude..........i didnt thought of zat......i didnt know hw my eyes worked...loll
|
|
|
|