|
led mike wrote: VG6, VV6
LMFAO!
Dave
|
|
|
|
|
I don´t know if you got the anser to your question, if not try to download some chat applications here in codeproject.
I started to built one but i didn´t finished it yet, and i didn´t find the code to acomplish all the things i have in my mind.
I´am not an advanced programmer but, i see in your post some similar code to the one i typed (and read before).
Good Luck
|
|
|
|
|
hi
i want to access to the root word storage object, i think i must use "stgopenstorage " win API
i need the code and i want to learn how to use it to access to root word objec,using c# 2003
and the all structured storage API can u give me a good site
thanx
|
|
|
|
|
Is there some reason you don't or can't use the Primary Interop Assembly?
led mike
|
|
|
|
|
which PIA i must use?????????
thanx
|
|
|
|
|
I don't have the requirements for your project, you do. Read the documentation and match it up against your requirements.
led mike
|
|
|
|
|
You've been asking questions here for 2 months about word/c# but have yet to ask a sensible/polite question and certainly no signs of any coding issues.
What exactly are you trying to do, where have you got to, and what parts of coding it are you having difficulty with?
Dave
|
|
|
|
|
hiiii
my work is "data hiding in unused space in structure of word document 2003 "
my problem is" accessing to this struccture and its stream"
now i learn that there is API for accessing root word strcucture storage "openStram"
i reading the artical in this site"read document text directly from microsoft word file"
but the code did't execuded
i need some artical learning me how writing API structure storage
THANX
|
|
|
|
|
This MSDN page[^] has a pdf with all the details of Word 2003 .doc binary file implementation.
I would think it would be far simpler with using Office Open XML[^] but I'm not sure if that format is compatible with word 2003. If it is then check out the open source Package Explorer[^] source code, it may be of some help.
Dave
|
|
|
|
|
Hi,
am using sql 2005 as backend
Am trying to generate auto-incremental values that is preceded with letters from my C# codes, based on user text input into database. The user input could be MAN, LADY, UNCLE etc.
However, I intend to generate values into the database such as:
MAN00001
MAN00002
LADY0001
LADY0002
UNCLE0001 etc.
Kindly show me the way
|
|
|
|
|
Why is it that people keep coming up with requests like this? As a key, this isn't exactly the most efficient.
Anyway, to do this, create yourself a sequence table. This table will consist of the two colums, one for the code and the other for the next sequence number. Then, when you need the value update this table and set the sequence value = sequence value + 1 (use an appropriate locking strategy and run this inside a transaction). Next, read the value back again and subtract 1 to get the sequence you need and commit the transaction. This logic works because the update locks the row for the user who is attempting to get the value. If somebody else attempts to update the row when you are inside the transaction, they won't be able to - they have to wait until you have commited or rolled the transaction back. Note - the order you do this in is hugely important; you must do the update before the select for this to work.
It's a hack, but it's the cleanest way to do it. I've heard of people attempting to do this type of thing using MAX queries and the like, but these are prone to error.
|
|
|
|
|
To display report on Crystal Report I'm using, the following piece of code below.......but I'm not getting any idea of how to SELECT records between a date range ( in my database, the date field doesn't exist in date format, its splitted in multiple columns like MM, DD, YY, YY (i.e 4 columns altogether).
when I display it on Crystal Report, I can concatenate it using built-in Crystal report fucntion called CStr function.
If anyone has got any idea on how to proceed, pls help me.
private void Form2_Load(object sender, System.EventArgs e)
{
try
{
myCon.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\temp\sample_as400.mdb";
myCon.Open();
string sqlQuery = "Select * from table_as400";
myAdp = new OleDbDataAdapter(sqlQuery, myCon);
OleDbCommandBuilder myBldr = new OleDbCommandBuilder(myAdp);
myAdp.Fill(myTable);
}
catch (OleDbException exceptionObject)
{
MessageBox.Show(exceptionObject.Message, "PIN_PROJECT");
}
}
private void btnReport_Click(object sender, System.EventArgs e)
{
CLIENT_REPORT myReport = new CLIENT_REPORT();
myReport.SetDataSource(myAdp);
crystalReportViewer1.ReportSource = myReport;
}
|
|
|
|
|
One option would be to add a DateTime column to a dataset retrieved from your initial query of 'table_as400', loop through the dataset to edit/insert this DateTime column with the correct date according to the four various "date" related fields in each row of your table, and then pass that dataset object as your data source. You could then filter the date range according to the DateTime column you added. Of course, if your initial query is tens of thousands of records, this option is unlikely to be elegant.
Another option would be to concatenate the date fields in your initial query AS some new named field into a "yyyyMMdd" format and then filter against that new field.
|
|
|
|
|
Thanks Paas, lemme try what you said.
|
|
|
|
|
Hi,
if your database supports selection expressions you could do something like
day+100*month+10000*year < 20080721
if it does not allow such, you will have to add a column containing day+100*month+10000*year
or something similar, or just a real date!
|
|
|
|
|
I'm gonna play around with the expressions u mentioned, anyway THANKS a lot........!!!
|
|
|
|
|
when create object from web service class
and call any method event error (the operation time out)
|
|
|
|
|
Can any one Help
I think ASP.NET web sites is within the file system, without the need of IIS Server.
How do the File System Web Sites work in ASP.NET 2.0 and what is the use of File System Web Sites in ASP.NET 2.0?
|
|
|
|
|
They run in a standalone highly cut down web server called Cassini. It operates by listening to requests on a different port to the default port 80. When you start debugging your web application, it runs on the *new* port.
|
|
|
|
|
Hi,
I'm trying to Create a windows service in C#. Could some one assist me in creating a windows service that reads mail on a periodic basis from "MSoutlook inbox" of a given mail Id (say "xyz@abc.com" with Host = "smtpx14.msoutlookonline.net" username = "uname" and password="pwd")?
Thanks in advance .........
Regards,
Kathir
|
|
|
|
|
kathiresanmurthy wrote: that reads mail on a periodic basis from "MSoutlook inbox" of a given mail Id (say "xyz@abc.com" with Host = "smtpx14.msoutlookonline.net" username = "uname" and password="pwd")?
What is this for?
How do you have the username and password?
Where is this process going to run, on what machine in your network architecture?
led mike
|
|
|
|
|
Hi Mike,
I'm trying to Create a windows service in C#. Could you assist me in creating a windows service that reads mail and stores the message in to a database on a periodic basis from "MSoutlook inbox" of a given mail Id (say "xyz@abc.com" with Host = "smtpx14.msoutlookonline.net" username = "uname" and password="pwd")?
Thanks in advance .........
modified on Monday, July 21, 2008 11:52 PM
|
|
|
|
|
Hi,
I ve one desktop application.
I ve used one Custom Tab Control with some background image.
and ve one GroupBox in one of the Tab Page.
The backcolor of the GroupBox is Transparent.
It all works well with WindowsXP theme but when I change the Theme to
Windows Classic the Transparency of the GroupBox goes away and it is shown with System Control backcolor. But the Tab Page is having its background image.
Is there any solution for this?
Waiting for some helpful answers...
Regards,
SIFAR.
modified on Monday, July 21, 2008 8:28 AM
|
|
|
|
|
One of the problems that developers face is the different visual styles that must be tested with an application. The best thing to do would be to detect when the theme changes and what theme it was changed too. When it happens you will have to alter the controls to better suit the visual style.
Regards,
Thomas Stockwell
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.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Thanx Thomas,
I tried the following in Form Load event and it worked for all themes.
gb1.BackColor = Color.Transparent;
Regards,
SIFAR.
|
|
|
|