|
Hmmm smells a little bit like a programming question
If you have smart-phone or pocket-pc phone you can install .NET compact framework, so you can deploy C# apps on it (and call web services etc).
"For fifty bucks I'd put my face in their soup and blow." - George Costanza ~ Web SQL Utility: query Access, SQL server, MySQL. Stores history, favourites.
|
|
|
|
|
Hmm. Sounds like you need an SMS feed into a PC, that then decodes the messages (possibly checking the sender's number) and then communicates with the irrigation controller.
[Aside: Can the cellphone communicate (bluetooth?) with a PC under your control?]
And it does sound like a programming question...
Steve S
Developer for hire
|
|
|
|
|
Sending an e-mail from the cellphone to a mailbox, then have a program read new e-mails from that box and call the control programs?
|
|
|
|
|
Hi
If you want to activate this using the SMS then You have to take a device by which you can connect SIM card to your Irrigation system's server. Then you can send SMS to that SIM number. As soon as the SMS is came to SIM that device has some interface which read that SMS from SIM and transfer it to the Server's port, then You have to write a bridge program which reads the SIM message from the interface given by the device and Pass certain command to your Irrigation system.
Let me knoe if you want any more help.
Regards
Tushar kothari
|
|
|
|
|
I read Bill Pierce's article (Lat Lays Flat) where it explains how to use GMap Control in web pages. However, I'd like to know if it's useful to create a similar map within a standard C# application (.EXE) and not only a web browser like Firefox or Explorer. For example, invokating Gmap in a picturebox.
Thanks
Kurtz
|
|
|
|
|
If they still require you to use a Google API key, it won't be possible.
|
|
|
|
|
Thanks, but, could I manage it (the key) in my application?
Kurtz
|
|
|
|
|
What they do is check where the request comes from and if it matches the URL of the key; this means that you won't be able to implement a pure windows application.
What you could do is have a web application and the windows one will use web pages from it.
|
|
|
|
|
|
hi
i need to know how to add ocx file to an application
pls help me out
|
|
|
|
|
Hi,
You may need to add a reference to that ocx. Have you checked Project\Add reference menu ?
Check also ToolBox, right-click and Choose Items.
Regards
|
|
|
|
|
Hi,
Does anyone know of good on-line references to Access database manipulation with ADOX in C#? I can only find Visual Basic samples.
I can create columns with this code:
dtTable.Columns.Append("State", ADOX.DataTypeEnum.adVarWChar, 128);
but I would like to set "Properties" so I can set
Allow Zero Length = True
Thanks,
Ron
|
|
|
|
|
This[^] article lists the ADOX properties for a Column object. Perhaps Nullable is the one you want?
/ravi
|
|
|
|
|
Hi Ravi,
Thanks for the link! This is a very good link for ADOX and have already studied it. I'm not that experience with coding, so usually I need C# sample to see how to type in the final code for C#.
To your question, no not Nullable, I was able to figure that one out:
myColumn.Attributes = ADOX.ColumnAttributesEnum.adColNullable;
it's setting the property: Jet OLEDB:Allow Zero Length
Here is the VB code, but I does not work in C#
myColumn.Properties("Jet OLEDB:Allow Zero Length") = True
this is as far as I got trying to convert:
myColumn.Properties["Jet OLEDB:Allow Zero Length"] = true;
thanks,
Ron
|
|
|
|
|
Hello, I created a web browser in c# and it wont allow pop up from some links.
These links are normaly in flash. So if I want to open a link in a flash movie it wont allow me to do it.
I'm trying to vote in the Rockstar Supernova contest online (Rockstar.msn.com) and the site is all in flash.
Then I go to vote, then I'm supposed to select a rocker to vote for, but when i click that rocker nothing happens, but in other browsers it works!
I would like to recive a solution to my problem.
Thx.
|
|
|
|
|
hi all,
how can i associate a particular file to an exe... i.e if i doubleclick on a file with a particular extension ia want that file to be opened in a particular exe..
thanks in advance...
|
|
|
|
|
Hi,
There are several ways to associate a file with a particular program. In Windows XP the easiest way is to right click on the file and select Open With -> Choose Program. Select the exe file that you want to open the file with and then click OK (don't forget to select the "Always use the selected program to open this kind of file" checkbox). The operating system associates the file extension with your program and the next time you double click on a file it opens it with your program.
Hope it helps.
Do your best to be the best
|
|
|
|
|
Hello
This depends on wither the Application is yours or not. If it is your application do this:
1- In your setup:
a- Right Click on your setup project's name => View => File Types
b- Right Click on "File Types on Target Machine" => Add File Type
2- If you want to associate the filetype with another application that's not yours ignore this step. In your application, use Enironment.GetCommandLineArgs() to get the filename
If you want to make an application like a "Filetype associations editor". Edit the registry with it. In the registry, any file extension has a key to associate it with different applications that appear in the Open with... list if there are more than one application associated, and make one of them as default. For example, search your registry using RegEdit for "jpg". It will return all keys including associations with jpg files. Understand the structure and make your application editing all keys with the changes of the extension name. Shouldn't be too hard.
Regards
|
|
|
|
|
See this[^] example project.
/ravi
|
|
|
|
|
need to capture the browser close event( when user clicks the 'X' button on top right) to confirm from the user if he wants to save the data on current page. I am able to capture the event by window.obeforeunload = ConfirmOnClose(this is name of function). Now when the user clicks on "Yes" to save the data, i use the method __doPostBack to call the server method to save my information. The problem i am faced with now is that a Default Message Box of window also prompts up to ask the user
"Are you sure you want to navigate away from the page.
Press Ok to continue or Cancel to stay on the current page."
This message box is not needed and i want to supress it.
I have tried to do window.opener='', but that also doesnot help.
I am using Asp.net 2.0 environment.
I need it very urgent. All suggestions will be highly appreciated.
i am pasting the code for reference:
function ConfirmOnClose()
{
if(window.event.clientY < 0 && window.event.clientY < -80)
{
if(Page_ClientValidate())
{
var result = confirm("Do you want to save the data in the form?")
if(result)
{
__doPostBack('ibtn');
}
}
}
}
Rohit
|
|
|
|
|
Hi
Can a person specify where in a PictureBox an image must be displayed? I am using Visual Studio 2003 and C#.
Kobus
|
|
|
|
|
Hi,
Inside a picture box (from what i know) you can't position the image. You can try to use the SizeMode property to set it to Stretch, Center, Normal or AutoSize.
Hope it helps.
Do your best to be the best
|
|
|
|
|
i just started getting more in depth with c# an was wondering if i could get help on making the program executable to run it on other machines. if anyone could help me with this that would be great...
<marquee behavior="slide" direction="right">~Max Gamer~
|
|
|
|
|
I didnt get you ,you mean to say that you want the .exe to run on different platform?or a different machine with same platform??
nishu
|
|
|
|
|
The executables created by C# compiler and IL Assembler run on every machine. If your .EXE does not run on another machine, check the version of the local .NET framework.
____________________________________
There is no proof for this sentence.
|
|
|
|