|
Up to available memory or int.MaxValue (2.1 Billion), which ever comes first.
|
|
|
|
|
hi all
i wanna check internet connectivity status from my application
suggest me the approach,
and
if the connection is there i need to prompt a internet explorer browser
else a message box saying no connection available
another doubt is , how to promp INTERNET EXPLORER FROM APPLICATION
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
You can use axWebBrowser1 object from COM component or search for browserobject Also play with it you will definatly find ant method to Check connectivity
<br />
string URL="http://www.someaName.com/ccp/index.jsp?pg_name=ccpmapp/individuals/savings/page/retirement_money_market";<br />
object oMissing = null; <br />
<br />
HTMLDocumentClass objects=new HTMLDocumentClass();<br />
<br />
axWebBrowser1.Navigate(URL,ref oMissing,ref oMissing,ref oMissing,ref oMissing);<br />
<br />
while(axWebBrowser1.Busy)<br />
<br />
{<br />
<br />
Application.DoEvents();<br />
<br />
}<br />
<br />
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Go for RAS articles.
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
pashitech wrote: i wanna check internet connectivity status from my application
Use ping. There are several articles that teach you how to ping from c#
pashitech wrote: how to promp INTERNET EXPLORER FROM APPLICATION
Have a look at Process class
|
|
|
|
|
Hi all,
I am developing an Day Planner (Remainder) project. I need some sample source code and the basic ideas to develop theproject
Plz any one help me
Thanks in advance
Know is Drop, Unknown is Ocean
|
|
|
|
|
Exelioindia wrote: I am developing
Exelioindia wrote: I need some sample source code
This doesn't really compute. What is it you want your app to do ? What bits do you need ideas for ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I need some sample project which was developed for Day Planner (Remainder) purpose, also some ideas about how to develop the Day Planner (Remainder) and what are the things expected by the user and the procedures to develop.
Know is Drop, Unknown is Ocean
|
|
|
|
|
Have the program check for upcoming events every maybe 15 minutes, or whatever you lowest reminder time is. If the event is close then remind the user, however you wish to do so.
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
Hi,
Thank you very much for your reply.
I am creating the remainder with the followig conditions:
1.Remind every day
2.Remind every 15 minutes to 120 minutes
3.Remind every Day(week day
4.Remind every Day, or 3 day once lie this till 60 days.
I am confused with the 2 and 4th point. How to handel this. Also confused with the 2nd point, every 15 minutes on that day only or the next coming dates also?
So only i need some saple project in this else some good ideas
Plz suggest me to solve these issues
Thanks in advance
Know is Drop, Unknown is Ocean
|
|
|
|
|
Exelioindia wrote: I am confused with the 2 and 4th point.
If you have a client, ask them. If you're doing this for yourself, ask yourself how you want it to work.
If it's homework, either ask your teacher, or assume they'll accept anything that literally meets the spec.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Some basic ideas?
It could implement a calender, and possibly remind the user when something he planed comes up...
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
Hi guys
Using WebBrowser object to open an email attachment in win form(C#), I am facing given below probs, Can any one help me on this?
Issue: If an excel or word document is already opened in your system and at the same time you try viewing an email with an attachment of MS Office(Excel/MS Word) through my application (win form), It gets opened in the Form as well as it creates and open a separate instance of the same attached document in already opened MS Office(Excel/MS Word), resulting the opened document(MS Word/Excel) hangs and there is no way out to make the MS Office document(word/Excel) active unless you close my application.
The given below is the code to open the attachment
if (filePath.EndsWith(".doc"))
{
wbExcel.Visible = false;
wbOthers.Visible = false;
wbPDF.Visible = false;
wbWord.Visible = true;
wbWord.BringToFront();
if (wbWord.Url == null || !filePath.Equals(wbWord.Url.ToString(), StringComparison.InvariantCultureIgnoreCase))
wbWord.Navigate(filePath);
}
else if (filePath.EndsWith(".xls"))
{
wbWord.Visible = false;
wbOthers.Visible = false;
wbPDF.Visible = false;
wbExcel.Visible = true;
wbExcel.BringToFront();
if (wbExcel.Url == null || !filePath.Equals(wbExcel.Url.ToString(), StringComparison.InvariantCultureIgnoreCase))
wbExcel.Url = new Uri(filePath);
}
Where wbExcel and wbWord are object of type WebBrowser
Hints: It seem the default behaviour of MS Office which throw some exception which need to be tackled.
Thanks & Rgds.
Mahtab
|
|
|
|
|
Hi
I am doing an application in which I am using a XML file to populate a datagrid.
In that XML file I have one like.....
<>
1.To generate leads efficiently and profitably.
2.To ensure that all details are collected in one call.
3.To provide email and chat support.
4.To manage Work Basket reports as required.
5.To meet targets for both quantity and quality.
<>
When I am trying to populate this column onto datagrid, all these lines or sentences are getting combine and displaying like a paragraph.
I want to know how to format this column to get them in the a new line
Thank u
Chandu
|
|
|
|
|
Your text is all one node, so to break it into lines, you need to write some code to split the string. If it contains newlines, you can split on those ( use the string.split method )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i am studying on a hotel reservation prject. i use an access file and a table which has fields resstart and resend. we dont make reservations directly on rooms. the system determines the room number of a guest who's checking in from empty rooms at checkin time. the hotel has 45 rooms. so my problem is getting how many reservations include days between the given resstart and rezend values.
suppose that a customer has a reservation between 23/05/2007 and 29/05/2007. and a new customer want to make a reservation between 26/05/2007 and 28/05/2007. so if i make a query based on resstart and rezend values than the first reservation will be ignored and second reservation will be accepted even if there will be no empty room between those days.
please help me,sorry for my english
|
|
|
|
|
anyone help ?
|
|
|
|
|
Hello,
I write a method in a class for connection to database and this method call in Login_Form
Code :
namespace DuryHouse
{
class Genral_Class
{
public string conection_string;
//Define Method for connect to Database
public string Conect_DataBase(
string servername,
string userid ,
string password
)
{
conection_string = "Data Source = " + servername +
";Network Library = DBMSSOCN;Initial Catalog = uryHouse;"
+ "User ID = " + userid + ";Password = " + password+"";
return conection_string;
}
}
}
In Login Form after pressing OK button I can not connect to DataBase :
private void button1_Click(object sender, EventArgs e)
{
Genral_Class Conection = new Genral_Class();
Conection.Conect_DataBase(ServerBox.Text, IDBox.Text, PassBox.Text);
sqlConnection1.ConnectionString = Conection.conection_string;
sqlConnection1.Open();
try
{
sqlCommand1.CommandText = "Login";
sqlCommand1.CommandType = CommandType.StoredProcedure;
sqlCommand1.Connection = sqlConnection1;
sqlCommand1.Parameters.Add(IDBox.Text, PassBox.Text);
}
catch (Exception ex)
{
Messagebox.Show(ex.message);
}
you think in which part I make mistake???
thanks
|
|
|
|
|
What error are you getting?
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
After this line this error occure => sqlconnection1.open();
Sqlexception was unhandle:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
|
|
|
|
|
See if your server allows remote connections.
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
|
|
For some reason I can't figure this out
Let's say I have an ArrayList of a class that has a string productName and an int called count. I want to basically combine the duplicates in the following way.
productName | count<br />
-------------------<br />
Product1 | 1<br />
Product2 | 1<br />
Product1 | 1<br />
<br />
After combining I'd want it to look like<br />
<br />
productName | count<br />
-------------------<br />
Product1 | 2<br />
Product2 | 1<br />
<br />
What is my best bet?
|
|
|
|
|
Hello,
Let me suggest a redesign.
Instead of ArrayList you could use a Hashtable (or Dictonary .Net>1.1).
Your "Value" would be the full instance of the class, and the "Key" would be the productName.
You could than make an "Add" Method which controls if the Key already exist.
If no -> add the instance to the Collection.
If yes -> increase the count of the existing instance.
Hope it helps!
All the best,
Martin
|
|
|
|