|
I'm not sure that a standard API exists to control a cell phone like that ? I'd have thought you'd do better to use a phone that is a Windows device and write a program for it, or research ways to send a text message via a webservice so you just needed to connect to the web, and not a cell phone ?
http://www.google.com.au/search?source=ig&hl=en&rlz=&q=send+sms+vb.net&meta=[^]
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 )
|
|
|
|
|
thanks for repplying. i cant send through the net. in botswana all cell phone services are prepaid. because of this, the companies do not give out there address to send the text messages. even if i could, im sure id be breaking some law. im sure theres a way. id imagine i would need the cellphones model number or something to connect to it. the usb dongle would be plug and play
|
|
|
|
|
The model number isn't going to help much, .NET doesn't have classes to talk to a mobile phone over bluetooth AFAIK. I assume you can connect to the web, or how are you able to post here ? If you can get on the web, then you can use a webservice that connects to an SMS provider.
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 )
|
|
|
|
|
i have access to internet but the office im peploying the software to does not
|
|
|
|
|
Write it as a compact framework app and deploy it to a windows mobile phone. IIRC theres a free managed library around that does a fair bit of stuff like SMS.
|
|
|
|
|
that wont work either. i need to keep it pc side because i need to store all messages, timestamps, recipients, etc in a database for record keeping purposes.
|
|
|
|
|
i tried doing a cellphone connection using usb dongle way-back
think of it as trying to control a serial comm port and just try using the serial port in
.net class
the bluetooth is just a type of serial port so it works exactly like using a serial port
understand?tryna find my resources if i do, will post them here
but read on AT Command Set for serial modems
phatkin
|
|
|
|
|
hi,there
please i want a source code in vb.net that handle this situation :
" my application(pj) is runnig from usb flash memory and when i right click on any file in c:\ ,d:\ ,...
and do send to my flash memory , i want my running application(my project) to handle this case and puase the copying , and take the file path ,so that my application will deal with it "
forgive me for my poor eng language , i hope you understand
i wait for an answer
thanks.
|
|
|
|
|
Abdduke wrote: please i want a source code in vb.net that handle this situation :
You want someone to do your coursework so you can graduate? Don't you think that's a bit dishonest?
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
no i dont ,because i am working so hard on my project and i stuck on this functionality , and i refere to many doc. & profs. in my university ,they dont know how to do this , and tell me to learn form a good programmer or to read some books . the problem ,i dont know the subject or which book i have to read.
so , dont tell me that is dishonest.
if you do not want to help and learn other ,dont judge them.
|
|
|
|
|
It is dishonest to ask others to do your coursework and then claim the work as your own. Read the forum guidelines, paying specific attention to rules 2 & 9.
If you graduate based on someone else's work, you have deceived both yourself and your university. If you get a job based on a qualification you didn't deserve, are you going to continue to get other people to do your work for you? You won't be able to hide your lack of ability forever; you will be found out and probably fired.
I find it hard to believe that no one in your department can help you, unless you are attending a really poor university. Anyway, if you do ask for help on CodeProject, make your questions more specific. People will be happy to offer assistance with particular problems, but no one will give you a complete solution. This forum is for people who want to learn, not for the lazy and/or stupid.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
pmarfleet wrote: find it hard to believe that no one in your department can help you
Same here.
pmarfleet wrote: attending a really poor university
Probably some no-accredited institution. You get what you pay for.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
pmarfleet wrote: You want someone to do your coursework so you can graduate?
He probably does. It's probably a bit of laziness, incompetence, or a mixture of both.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Abdduke wrote: i want a source code in vb.net that handle this situation
Do your own work. If someone supplies you with source code how to do this, then there are some questions to ask:
1. How do you feel about doing dishonest work?
2. How do you expect to work on real, challenging tasks that await in software development if you can't do something simple like this?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Well,it seems my subject "Please help with my....." or maybe "i want a source code in vb.net that handle this...." break me down or make it a dishonest ask.
1. First of all,my project is almost finished and this functionality that i asked ,well not fail my project that is my doc. told me your project is fine and you do not need it badly.but when i alwayse do a job i do it better.and you know i am a student in SE. ,we focus on project documentation,analysis and design.we are not very good in programming.
2. as you know i will finish my studying stage after 3 months from now,and i have to practice about 6 months in any company that my university has a contract with it.
so i will get experience in time.and you know SE. is a practical work.
you know about Extreme programming method and its gouls and other SW devlopment approches. and one of some companies standards and qualities to get new developer in developing new project to get him learn form them......
finally, this is the last reply on this subject.my first reply i asked a source code (may too much asking)couse i am bad in express in Eng. i dont know how did you get it.
but my secod reply,i had explained my setuation and asked if you know a clue or abook to read about the subject.
becouse this is new for me and have not leard before.it is simple work for you but it is new to me.not i am lazy or i want other do my own work
so in this reply, i will ask nothing.
but let me ask you a question :
how do you learnd ? maybe someone have teach you(in sch. or university)
or maybe you had learned from book(auther teach you).
or why people vist this site ? maybe they want to learn!
even though i ask nothing.
thanks any way .
|
|
|
|
|
Hi,
I hope to get some advice on how best to proceed with the problem highlighted below:
I have written a windows application in VB .Net that connects to a commercial web service and retrieves data. There are a number of different calls that can be made to this web service depending upon the type of data to be retrieved.
The app can spawn many worker threads that can each make separate calls to the web service over a very short timespan.
I have not had any problems with api call limits until recently when the commercial organisation hosting the web servce has introduced financial penalties for exceeding a predefined api call limit over a moving window. For example if more than say 5 api calls are made over a 1 second window a charge will be levied on all subsequent calls made within that window above the 5 call limit.
What I would like to do therefore is introduce some sort of queuing system that all these threads are able to hook into that is able to check if the limit has been exceeded and if not allow the call through or block the call until the number of calls are below the limit for the moving window. The queued calls will be first-in-first-out.
What I really need to know though is how do I ensure that once a call is allowed through and data is retrieved from the web service how do I make sure that the correct data is returned to the correct thread given that the many different threads may be making the same call (but with different parameters and therefore returning a unique dataset)?
I hop this is clear and many thanks for your help in advance!
|
|
|
|
|
Seems a design issues rather than a coding problem.
Why not have a central counter/controller that only allows n calls to the web service to be active.
I presume a call to the web service is synchronous, exists till it gets and answer. Set up a command queue and pump in your requests into a central processing system with a cap on the number of threads it will spawn.
Surely you can have a thread identity that can be passed to the spawning process and return when the data is available.
As you can gather I do not use threading much so these are just ideas!
|
|
|
|
|
hi all
can anyone tell me how i can change the appearence of buttons in vb.net 2005 like round shaped.
thanks
rmshah
Developer
|
|
|
|
|
Create a custom control that inherits from button, then override its drawing event and do the drawing yourself.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Like Smithers-Jones said, create a custom control and override OnPaint() .
I just want to add. If you want to make the control handles mouse input in the round-shaped area of the control. Set the Region property to define the area you want to respond to input.
Eslam Afifi
|
|
|
|
|
Hi all, i am using visual studio 2008
Am having problems specifying the papersize to print my graphic to. The follwing isnt generating any errors but also isnt printing A3 on my printer (which is available) keeps defaulting to A4
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
<br />
PrintDocument1.PrinterSettings.PrinterName = "8500PS"<br />
<br />
Dim ps As New Printing.PaperKind<br />
ps = Printing.PaperKind.A3<br />
PrintDocument1.DefaultPageSettings.PaperSize.RawKind = ps<br />
<br />
PrintDocument1.Print()<br />
End Sub<br />
<br />
Private Sub PrintDocument1_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage<br />
<br />
Dim g As Graphics = e.Graphics<br />
g.DrawImage(Image.FromFile("C:\1\Winter.png"), 5, 5)<br />
<br />
End Sub<br />
It is printing A4 every time?
Any help appreciated, thanks
|
|
|
|
|
try
DefaultPageSettings.PaperSize.Height = ??
DefaultPageSettings.PaperSize.Width = ??
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi, thanks for reply,
Using the above gave me
"PaperSize cannot be changed unless the Kind property is set to Custom"
Which led me to
PrintDocument1.DefaultPageSettings.PaperSize = New Printing.PaperSize("Custom", 1169, 1654)
Which worked but then led me to
<br />
'Dim ps As New Printing.PaperSize<br />
'ps.RawKind = Printing.PaperKind.A3<br />
'PrintDocument1.DefaultPageSettings.PaperSize = ps<br />
Which is suits my purposes just fine
Thanks for that
Regards
|
|
|
|
|
I am trying to put some info from the database and datatable into a data grid and I get an error on the phone number fields when trying to display the info in the dataGrid control.
Here is the error I get.
It says it can't store the info in the column. The type is Int 32, expecting Int32.
In the database in this column I am using a bigint in sql server express 2005.
Here is my code.
dt.Columns.Add(New DataColumn("Cell", GetType(Long)))
For Each row As DataRow In dtStud.Rows
dr(3) = row("stud_phone")
dt.Rows.Add(dr)
Next
'Dim dgView As New DataView(dt)
dgrStudList.DataSource = dt
Can anyone tell me why it expects int32 when I am using a Long for the data table column.
|
|
|
|
|
Where is dr created ? Are you sure that the row you're adding is the third row ?
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 )
|
|
|
|