|
Can Youh help
i want to create a project in VB6.0 using RemoteData. because my program is in a computer but the database "in ACCESS" is in another Computer connected to the web. if there is any example it will be very nice;);)
|
|
|
|
|
Dear friends
How can i save the Picture of a imagebox as a file. your quick response will be highly appreciated.
Thankx
Murtuza Patel
|
|
|
|
|
I assume you're talking about VB6.
You need to use the SavePicture[^] function.
SavePicture myImageBox, "MyImage.bmp"
|
|
|
|
|
In a Picturebox for .Net...
<br />
'save file path<br />
Dim Path as String = "C:\SavedImages\Image.bmp"<br />
' Save to file<br />
Picturebox.Image.Save(Path)<br />
Picturebox being the name of your control.
-Jason
|
|
|
|
|
Hi,
I'm trying to serialize/deserialize a class that inherits from arraylist,
my problem is that it has some more public properties but they aren't serialized. the class looks like:
Public Class CR
inherits Arraylist
private _name as string
private _place as string
public property Name as string
...
....
End Class
when I look into the xml file I can see the list of objects but Name and Place properties aren't serialized.
what am I doin' wrong?
thanks in advance!
Fuel2Run
|
|
|
|
|
anybody there can help me?
|
|
|
|
|
|
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
|
|
|
|