|
If you can't break the problem down into smaller parts and describe those, it's impossible to help you.
|
|
|
|
|
Yes, I don't understand what is Recipient's Cellular Carrier
Socheat
................
|
|
|
|
|
That would be the company supplying the cell service to the person you're sending the message to.
|
|
|
|
|
So what can i do next?
Socheat
................
|
|
|
|
|
Are you ever going to describe the problem?? Do? Do what? I have no idea what the problem is, so how can I, or anyone else, make any kind of recommendation?!
|
|
|
|
|
Where should i go to find Recipient's Cellular Carrier?
Socheat
................
|
|
|
|
|
You don't! There is no one site that has a directory of phone numbers and which carriers they're on. Since you can tranfer your phone number to any carrier, it's impossible to maintain. They recipient has to tell you which carrier they're on! Read[^]
|
|
|
|
|
Hi,
I have been trying to imlement a a program for my Windows Mobile 2003. I have a program that has two tabs, one contains a calender and the other GPS data (Logitude, Latitude and Altitude) just the 3 GPS information.
I have looked a many exaples but i was unsuccesful in making it work. I am new at VB and using .Net 2005.
Can anyone help with this problem?
I would be really greatful if anyone can show me how to do this.
Many thanx, Bill.
|
|
|
|
|
Mrhappy22 wrote: I have looked a many exaples but i was unsuccesful in making it work.
Making what work?
Mrhappy22 wrote: Can anyone help with this problem?
What problem?
Mrhappy22 wrote: I would be really greatful if anyone can show me how to do this.
How to do what?
You haven't said anything about what the problem is or what your having a hard time with. All you did was say you have an application with two tab page with data on both of them. That's all!
|
|
|
|
|
Sorry for that,
Basically on the second tab I am wanting the GPS functionality.
I would like to display the LONGITUDE, LATITUDE AND ALTITUDE, getting this information fro a bluetooth GPS device.
So I am having the problem with the GPS side of the code.
Thanx again.
|
|
|
|
|
There's plentry of examples out on the web. If you searched the articles here on CP the GPS, you would have found this[^] series of articles.
|
|
|
|
|
Hi,
-- modified at 8:18 Thursday 31st May, 2007
|
|
|
|
|
Hi,
I have looked at articles on this website 'How to write your own GPS program part 1 and 2' but they were no help. I have also looked at other articles as well as other examples on the web, as i am new to this I am finding it exteamly hard to make this program work.
I have two tabs, one of them contains the GPS application. I have a start button to start the connection with GPS device and stop button to stop the connection. The program gives me no errors but does not work. When I click the butons they do not function at all.
Please have a look the code provided below, this might help understand my difficulty.
Here are vb.net files that i'm working on: http://www.manzilcamberley.co.uk/GPS/GPSPDA.zip
Any Help or direction would greatly appriciated.
Thanx in advance.
Bill
|
|
|
|
|
I am trying to save an image from a PictureBox to an icon file, but I'm having two problems.
1. When saving the image to an icon, (.ico and ImageFormat.Icon ) it saves but it gets an "Unknown File Type" icon instead of it's own. But if I save it as a bitmap, (.ico and ImageFormat.Bmp ) it saves and displays fine. Why is this? Shouldn't it be the other way around?
2. No matter which format I save the icon in, when trying to open it in a icon editor I get an error saying either: "Not An Icon File" or "Invalid Icon Header File".
I have done plenty of research and every site I found says to save an icon the same way I am. Which is:
Dim IconImg As Bitmap
IconImg = ImgBox.Image
IconImg.Save("C:\Image.ico", System.Drawing.Imaging.ImageFormat.Icon)
What am I missing? Thanks for the help!
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
|
Thanks, but that involves drastically editing my code, and it saves the icons in 16-bit colors instead of 32-bit (and I can't figure out why). Is there another way?
Thanks anyway!
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
in my code
Private Sub logonBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles logonBtn.Click<br />
'Validate logon username and password.<br />
Dim myresult As Integer<br />
myresult = Me.TeacherTableAdapter.usernamePassword(PasswordTextBox.Text, UsernameTextBox.Text)<br />
If myresult = 0 Then<br />
MessageBox.Show("Logon Error; Username or Password is incorrect")<br />
Exit Sub<br />
End If<br />
MessageBox.Show("Welcome to Teachers Pet")<br />
Call LoadMainScreen()<br />
<br />
End Sub<br />
What if I wanted to return back more than one item...for instance, right now it's returning the user ID, what if I wanted, userID, TGrade, FullName?
Would I just return everything back in an array?
Thanks.....and if this is the wrong board and should be on the ADO.NET then let me know and I'll delete this and move it there.
Tom Wright
tawright915@gmail.com
|
|
|
|
|
Hi Tom,
By the look of it I think it might actually be reasonably easy (but no guarantees):
<br />
Private Sub logonBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles logonBtn.Click<br />
'Validate logon username and password.<br />
Dim myresult() As String<br />
myresult = Me.TeacherTableAdapter.usernamePassword(PasswordTextBox.Text, UsernameTextBox.Text)<br />
If myresult.GetValue(0) = 0 Then<br />
MessageBox.Show("Logon Error; Username or Password is incorrect")<br />
Exit Sub<br />
End If<br />
MessageBox.Show("Welcome to Teachers Pet")<br />
Call LoadMainScreen()<br />
End Sub<br />
Tom Wright wrote: userID, TGrade, FullName
It looks like you want to return data of different types, so the array would best be made of type String. You can then use the data from the myresult array with .GetValue(0-based index number here) and convert values from the string type to integer, etc. where needed.
As I don't know the code on the Me.TeacherTableAdapter.usernamePassword(PasswordTextBox.Text, UsernameTextBox.Text) side, your on your own making it return multiple values.
Hope this helps,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Looks like you're using some tool to generate the Datalayer. If this is true, just change the underlying SP that is executed by Me.TeacherTableAdapter.usernamePassword() function to return a resultset instead of just a string output. And run the tool again. This will make the function return a DataRow of the underlying table.
If the above is not true, you've to start from the ground up. Modify the SP to return a resultset, modify the function to read the resultset using a DataReader or a DataSet.
SG
|
|
|
|
|
Is it possible to track a form (that is not your app) and place a button on it for the end user to click on? So basically...say a dialog app starts up. My program (which will be running in the background) will see that this app starts....gets the dimensions of the app and places a button on top of the app as well and moves the button if the user moves the app around on the desktop.
Is this possible?
Thanks
Tom Wright
tawright915@gmail.com
|
|
|
|
|
It's possible if your code was written in unmanaged C++, but not VB.NET or C#. This is because the .NET Framework doesn't support the exports and static linking required to do something called "DLL injection".
This would be required because your code would have to become part of a foreign process so it can respond to another applications Paint events so the button gets repainted when necessary and respond to the clicks on the button.
|
|
|
|
|
Hi heroes,
I have a windows service(written in VB.Net) that runs a Shell command to execute a batch file, that was working fine on windows 2000 server, after migrating to Windows 2003 server, I get no errors regarding the execution of the shell command but the batch file doesn't do its job at all(as if it was not run).
on the other hand, if I run the bat file manually it works fine.
I tried to use Process class of the .Net but the same applies.
Also, the windows service runs in the context of System account that has all the rights granted.
What would be wrong? Please help
ThaScorpion
|
|
|
|
|
Verify the account that's being used by the Service. Make sure it's running. (I know - duh!, you'd be surprised...)
What apps does this batch file run? Do those apps require rights to certain resources to do their job? No - the Local System account does NOT give your service God rights over the entire system.
Change the batch file to log everything that would normally go to the console to a file:
somecommand param1 param2 > C:\batch.log
someothercommand >> C:\batch.log
The first line creates a new file in the root of C:, overwriting any file with the same name. The second line, with the two > characters appends to an existing file. Check this file for any errors that come up.
|
|
|
|
|
Thank you for replying so quick.
What do you mean by making sure that the System account is running ?
if I understand you mean the Windows service is running?, yes it is, it logs everything it does. Only the batch file doesn't or the EXE doesn't execute.
The batch file runs an EXE with some parameters.
ThaScorpion
|
|
|
|
|
ThaScorpion wrote: What do you mean by making sure that the System account is running ?
if I understand you mean the Windows service is running?,
Not the account, the service. Verify that the service IS running and that it's running under the proper account.
ThaScorpion wrote: Only the batch file doesn't or the EXE doesn't execute.
Change the batch file to log any output to a file, like I showed you.
|
|
|
|