|
Hi there.
I am doing a project that is related to Bluetooth technology. I am planning to build a client/Server application for a shopping complex where the Bluetooth integrated mobile phone users will receive a text message through their phone informing them the latest promotion in that certain shopping complex.
I would like to hear your ideas regarding my projects. Is it possible for me to build an application through VB.NET 2005 which would send the text message to the Bluetooth mobile phone? If can how can I do this application? How and where can I start it? Please help me here because I am still new in the programming field.
Thanks a lot.
Tillandran
|
|
|
|
|
Were you to write this system, and it spammed my phone, I would find you and kill you.
tillandran wrote: Please help me here because I am still new in the programming field.
This is far too complex an app for someone 'still new to the programming field', my advice is to walk before you run.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote: Were you to write this system, and it spammed my phone, I would find you and kill you.
Gosh! That is very lenient of you.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
I agree with with Christian! If someone spams my phone like that I'll rip the transmitter right off the wall and smash it!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
In my humble opinion, this is a REALLY bad idea! That's the most annoying way to get someones attention. Your technology, if annoying to enough people, could actually drive a store out of business!
I know I can't stand it when someone spams my email. I'd be livid if someone spammed my phone! Ripping the transmitters off their mounts would not be out of the question!
Bluetooth is also a bad choice for this. Networking range is very limited (about 30 feet). How many times an hour are you going to be broadcasting this message? Probably enough to cause people to, at the very least, turn off their phones, I'd bet. There'e also no way you can track which phones got which messages, so you don't keep spamming them.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi All!
We developed a web service using vb.net. And we developed windows clients also to access our web service in vb.net as well.
In Windows Clients, before starting the process, I need to check whether the Client System has internet connection or not irrespective of the system is personal or a network system.
So, can any one help me how to check in the Client System whether it has internet connection or not in all ways.
Thanks and Regards,
LVPrasad Yedla.
|
|
|
|
|
|
Thank u very much Mr.Owner drawn!
Your single line of reply to my post, helped me so much!
I am appreciating your help!
Thank u very much again!
|
|
|
|
|
|
"The instruction at "0x77d043a6" referenced memory at "ox480a1f5a". The memory could not be "read". Click on OK to terminate the program Click on Cancel to debug the program"
I got this popup error when I try to open a new browser in vb.net application by using "window.open()".
I'm using windows server 2003 sp1 and vs .net 2003.
Any hints will be appreciate!!
|
|
|
|
|
If you're trying to display a website in a WEB browser, then try this...
Process.Start("http://www.codeproject.com")
|
|
|
|
|
Thank you for your help.
I found the reason. It's still because OWC10.
|
|
|
|
|
I have an EXE file that calls a DLL.
I would like the DLL to RaiseEvent on the EXE, I have pasted sample code for
the DLL and EXE
My problem is that the Class doesn't seem to be able to Raise the Event on
my executable... Any ideas, or errors you see?
Thanks in advance,
J.
-------- START OF CLASS ----------------------
' The class project is called ClassTest
Public Class Class1
Public Event TestRaiseEvent()
Public Sub Test()
RaiseEvent TestRaiseEvent()
End Sub
End Clas
-------- END OF CLASS --------------
--------- EXE CODE ---------------
Public clsTest as New ClassTest.Class1
Public WithEvents TestDLL As ClassTest.Class1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
clsTest.Test()
End Sub
Public Sub Test_DLL_Test() Handles TestDLL.TestRaiseEvent
MsgBox("This is a test of the Raise Event Function....")
End Sub
--------- OF OF EXE ---------------
|
|
|
|
|
The method Test_DLL_Test() will never be fired, because you have created two objects of type ClassTest.Class1 and calling the Test() method of the one that isn't actually hooked up to anything. Try the following:
Public WithEvents clsTest as New ClassTest.Class1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
clsTest.Test()
End Sub
Public Sub clsTest_Test() Handles clsTest.TestRaiseEvent
MsgBox("This is a test of the Raise Event Function....")
End Sub Hope that helps
Cheers,
Will H
|
|
|
|
|
Nope,
That works fine for just calling the Event.
The EXE references the DLL, and I would like to be able to raise the event in the DLL and capture it in the Executable...
J.
|
|
|
|
|
All you have to do is wrie up an event handler. This[^] example shows you everything you need to make this work.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello All,
I don't know if this has been done or not so again please tolerate my ignorance.
I'm retriving information from a database and placing the output into selected columns on a listview control. What I would like to do is adjust the columns to the width of the largest data piece in that field.
We can use the Length function to return the number of characters in a field, but I need to convert the string length into twips. For example if a 12 point font's character is 15 twips long then to adjust the listview's column I would multiply 15 by the length of the string and reset the columns width.
Any way of doing this?
Thank you,
Quecumber256
|
|
|
|
|
Quecumber256 wrote: What I would like to do is adjust the columns to the width of the largest data piece in that field.
The ListView control can actually do this for you, but VB6 doesn't provide an easy function to make this happen. You have to make a call to the win32 API.
The following code will resize a ListView column to just fit its text. You need to call this function for every column you want to resize.
Private Declare Function SendMessage Lib "USER32" Alias _
"SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
'
' Re-sizes ListView column so that all of its text is shown.
' If last column is specified, then it is stretched to right side of control.
Private Sub AutoSizeColumn(ctrl As ListView, iColumn As Integer)
SendMessage ctrl.hWnd, &H101E, iColumn, ByVal -2
End Sub
-- modified at 18:36 Monday 30th January, 2006
|
|
|
|
|
Thank you. This worked just as I wanted it too.
Quecumber256
|
|
|
|
|
Hi All,
I am binding a DataGrid to an ArrayList, but in the Grid, it does not show the append row, the one with the asterisk, like it does when binding to a Table or a DataView.
Is there any way to have the grid show the append row when using an ArrayList or Array?
The approach I am exploring right now, is using a class that inherits ArrayList, but cannot figure out which properties it should have, to enable the desired behavior.
Anyone have an idea about this?
Many thanks!
Hiske
|
|
|
|
|
Hello,
I created the class "document":
Public Class Document
Private Shared _title As String
Public Property Title() As String
Get
Return _title
End Get
Set(ByVal value As String)
If _title = value Then
Return
End If
_title = value
End Set
End Property
End Class
To set the property value I am using:
Dim MyDocument As New Document
MyDocument.Title = "My book title"
I need to be able to create "second level" properties. An example:
MyDocument.Author.Name = "Author Name"
Instead of having
MyDocument.AuthorName = "Author Name"
I inserted the class "Author", with property "Name" inside Class Document.
It is not working. Could someone explain me how to create it?
Thank You,
Miguel
|
|
|
|
|
shapper wrote: I inserted the class "Author", with property "Name" inside Class Document.
Don't do that. Put the author class in a file of its own. There are very few good reasons to create an inner class and I doubt this is one of them.
shapper wrote: It is not working. Could someone explain me how to create it?
Define "it is not working"! What doesn't it do?
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
shapper wrote: Private Shared _title As String
Are you sure _title has to be shared (and Title not)?
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick || Fold With Us! || Pensieve || VG.Net ||
|
|
|
|
|
It sounds to me like you inserted a class definition, instead of an instance of a class. If you have a class called Author, then you can create a property of type Author, also called Author ( or name it whatever you want ) and it will work as you are hoping.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hello!
I think something is new in visual studio 2005. Here is the scenerio:
I have a tabcontrol with two tab pages. I have placed one label in 1st tab page and set its visibility to true. When I shift to 2nd tab page the label's visibility has treated as invisible by the compiler at run time.
Is that true? if it is not how could I reach the visible attribute's value while I perform a task in the second tab page rather than defining the following statement
if label1.visible = true then
because it is not working out even though the label1 in visible in 1st tab page.
If you enlight me about it, I would really appreciate it...
Bedri
|
|
|
|