|
The quality is bad, so I do not see anything from links,
try do experiments with \n && \r\n
|
|
|
|
|
Sorry for links.
It is just returning the number 37 that corresponds to '%'.
|
|
|
|
|
if you have software witch can communicate with your device (via telnet or http)
you can get all sended and received data via sniffers.
|
|
|
|
|
Hi
My project uses a dll (third party) and a database (ms access) to make a setup file i am right cliking on the project and then publishing it so this one is working fine my problem is that i am unable to find the location of the database
so that i can take a back up ( I mean Physical path of database file )
Please if anyone know's where the database gets stored let me know
regards
sindhu tiwari
Always Innovative
|
|
|
|
|
you've written a program, it uses an access DB, but you can't work out where it is ?
Access, the application, can use SQL Server by default, if you have it installed.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
sir,
Its not in the sql folder where all the databases are stored.............
any idea ................?
its me sid
|
|
|
|
|
C:\Documents and Settings\user\Local Settings\apps\2.0\Data\T3XVZ17B.2X0\V63PN1JX.E8Z\wind..tion_81d1f0c51d19247d_0001.0000_353a80502eb5e56f\Data\data
is the path which i came to know after searching the c drive
is there any way to change the path..............?
its me sid
|
|
|
|
|
What really frightens me is to thnk of the steps through which you created an app that uses a DB, but had no idea where the DB was. If it's a SQL DB, you will need to install SQL Server to deploy. If it's an MDB, it can go anywhere, but t seems it's in the right place, the app data for the app. If you move it, it probably won't work with vista
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
its a access db and i have stored it in a folder called data which is attached to my project ..............fine my problem is solved and thank's allot for ur valuable advice
its me sid
|
|
|
|
|
Hi all,
I want to do one projects in C# 2005
For same field I want to do one project in web application and onther in windows application.
So can I do both project in one project.
The View will be after splash screen main page will come. there will be 2 link options say 1.RFQ/ENQ control (web app) 2.Stock taking(windows app)
Can I do this ? If yes please tell me how to do?
Thanks in advance
Ashwini
|
|
|
|
|
No, you can't. A windows app lives on the local machine, a web app lives on a server. That's just the first of your problems.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hai Everybody,
I have used the following code to send the mail using the System.Net.Mail namespace:
string host = "192.168.0.22";<br />
int port = 85;<br />
string userid = "un";<br />
string password = "pwd";<br />
<br />
MailMessage message = BuildMessage();<br />
<br />
SmtpClient smtp = new SmtpClient(host, port);<br />
smtp.Credentials = new NetworkCredential(userid, password);<br />
smtp.SendCompleted += new SendCompletedEventHandler(smtp_SendCompleted);<br />
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;<br />
try<br />
{<br />
smtp.Send(message);<br />
<br />
MessageBox.Show("Success!", "Sample", MessageBoxButtons.OK, MessageBoxIcon.Information);<br />
}<br />
catch (Exception ex)<br />
{<br />
MessageBox.Show(ex.InnerException.Message);<br />
MessageBox.Show("Failed! \r\n" + ex.Message, "Sample", MessageBoxButtons.OK, MessageBoxIcon.Warning);<br />
}
When i am giving the invalid IP Address / port number it is giving the error "Unable to connect to Remote Server".
But when I am giving invalid user name or password it is just sending the mail.
Can any one tell me how to protect sending mail if wrong credentials are specified.
Thanks in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
Do you use your own mailserver and if that's the case have you set it up so that users must login to send mail?
|
|
|
|
|
Yes I am using my own mail server.
Johan Martensson wrote: set it up so that users must login to send mail
Where can i set this?
Is it in the Exchange Server or can we set this in the program itself?
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
I have no experience with Exchange Server myself but there should be some option to make the users login to send mail.
I have only used CMailServer and Kerio Mailserver and they have this option.
|
|
|
|
|
i need a program that use TAPI and H323 TSP to answer a call ??
|
|
|
|
|
i need a program that use TAPI and H323 TSP to amnswer a call ??
|
|
|
|
|
I loaded up a DataSet from an SQL table and was able to read it within the class in which I loaded the ds. However when I try to call the data from another class there is no data in the ds.
Please help,
Michael
|
|
|
|
|
Hi,
Please Please Give Us Your Code So We Can Help Solve U'r Problems
Regards,
Tomi
|
|
|
|
|
yeah , please provide us with your code section
I know nothing , I know nothing
|
|
|
|
|
I have 2 pieces of code one for datasets and the other a class in which I have a similar problem, I did not include all of the code but the general idea is there. I will place the second in a different thread. Note that some of the syntax comes from a program called OleDBProNet for loading data from a database though this should not matter see where I can read data in "***".
Class1
{
DataSet_I dsI = new DataSet_I();
DataSet_I.BSecDataDataTable BSD = new DataSet_I.BSecDataDataTable();
public void buttonFillDataTables_Click(object sender, EventArgs e)
{
if (checkBoxOleDBProNet.Checked == true)
{
if (checkBoxFilldsIDataTables.Checked == true) FilldsI_DataTablesOleDBProNet();
string strGroup = BSD[200].strGroup;
******* Data does not show here line above*****
}
}
}
Class2
{
DataSet_I dsI = new DataSet_I();
DataSet_I.BSecDataDataTable BSD = new DataSet_I.BSecDataDataTable();
FilldsI_DataTablesOleDBProNet();
{
ShowRowset();
string strGroup = BSD[200].strGroup; ******* Data shows here *****
}
public void ShowRowset()
{
Rowset.MoveFirst();
while (!Rowset.IsEOF)
{
BSD.NewBSecDataRow();
BSD.Rows.Add(nUseRecNumID);
if (Rowset.GetData(1) != null) BSD[nUseRecNumID].nRecNumID = (Int32)Rowset.GetData(1);
Rowset.MoveNext();
}
}
}
}
|
|
|
|
|
public class NameInfoCS
{
public int historyHandle = -1;
public int nRecNumID = 0;
public string Name = "";
public int item = 0;
}
public class FillNamesInfoArrayCS
{
NameInfoCS[] NameInfoArray
public void FillArray()
{
NameInfoArray = new NameInfoCS[Names.Length];
for (int idx = 0; idx < Names.Length; ++idx)
{
NameInfoArray[idx] = new NameInfoCS();
NameInfoArray[idx].Name = Names[idx];
NameInfoArray[idx].nRecNumID = idx + 1000;
}
}
}
private Class1
{
private NameInfoCS[] NameInfoArray = new NameInfoCS[100];
******* if I load data from FillNamesInfoArrayCS here there is no problem, but if I load FillNamesInfoArrayCS from outside of this class and then call this class the class has no data in it. “info.” Below shows as null, “NameInfoCS info in NameInfoArray” error message says I must use new ****************
public void DATAMultipleHistory()
{
if (program.IsEntitled != 0)
{
program.ReleaseAllDATA();
foreach (NameInfoCS info in NameInfoArray)
{
info.historyHandle = program.get_RequestHistory(info.Name, info.strDATATP, IProgram.DATAType.btDATA, info.nNumberOfDATA);
}
}
}
}
|
|
|
|
|
Hi,
I want to draw/write some text on the top of the screen when I play a full screen game.
How to do that in C#?
Many thanks in advance.
//Dirwir
Dirwir
|
|
|
|
|
I remember seeing this article a few weeks ago that seems appropriate, I wouldn't recommend using it for a multiplayer game as punkbuster,etc might class it as a cheat.
|
|
|
|
|
Many thanks! nice article!
|
|
|
|