Answer Questions
CamDen CTSHolding property in .net
Hi Everybody, I'm planning to upgrade a VB6 application to VB.NET 2003 I'm using VB.NET 2003 and have installed serial communication to sense the temperature . However, I found that there is no CTSHolding property which I use before in VB6's MSComm to determine the status of an external device. Do you have any idea on this issue this is my code in vb6 Private Function SDA_value() As Boolean SDA_value = MSComm1.CTSHolding End Functi ...Show All
sonofseven Excel SpreedSheet : MultiLine Cell
Hello there ... I'm Using the Microsoft Office SpreedSheet Object or in other words the Excel Spreedsheet Object in Visual Basic 2005 The Problem I'm facing is that I can't put a Multiline String into A Cell when I do that it ignores the Line feedbacks whether i send it with VbNewline or with Chr(10) and there is No property called WrapText although it Exists in VBA so i can't find any Property/Method in the cell (Range) Object that Allow ...Show All
CamDen Need a background popup (a new concept)
Hi, Hope u all seen the popup displayed in Skype messenger or yahoo messengers, that this user signed in and u received a mail..... These popups wont affect the program which is currently in use and the popups act as a background process. I need to design such a kind of popup in VB to display alerts on particular period of time. THIS POPUP SHOULD BE DISPLAYED EVEN THOUGH I MINIMISED THE FORM. For example, eventhough when i ...Show All
rachana.agr Dynamically Changing Button Properties
I am writing an application where I have a 5x5 array of buttons that I want to dynamically update some of the properties. I have created all of the buttons in the editor and have given then names that reference their position in the matrix (i.e. btnGrid11, btnGrid12, etc.). Based on the button that a user presses, I would like to update the image that is shown. I would like to do this in a loop and the problem that I am running into is tha ...Show All
SQL User when true isnt really true
A feature I think would be the best way to describe this... or at least it doesnt behave how I would expect... Try the following: debug.print(true) I would expect a boolean value of -1 to be returned.... true being defined in the VB docs as being a boolean value of -1 with false being a boolean value of 0. What I actually get is a string value of "True" Ah well.... How did I discover this Well I was pre-populating a check ...Show All
didalos Adding row to a data Table
I've been working on this for about four hours now and I'm unable to get things working. I want to add row to an data Table. I continuelly get the message "Data row already belongs to this table" What am I doing wrong here sample below: Dim AstroDataSet As New DataSet( "AstroData" ) Dim Astrobl As DataTable = AStroDataSet.Tables.Add( "AstroTable" ) Dim Rec_YearColumn As DataColumn = New ...Show All
SMK Data table key: "these columns don't currently have unique values"
I believe I understand what this message is telling me but I don't understand why it is giving it to me. I have a access database that has a primary key on State ID. (yes, no duplicates) When I tried to set the key I get the above message. Is there something else I can look at to help fix my problem. I ran this program with a different database and he had no problem. oleConn = New OleDbConnection( _ "Provider=Microsoft.Jet ...Show All
R. F. Phillips Popping sounds using Windows Media Player to play mp3 files
When using Windows Media Player (winmm.dll) to play mp3 files, I sometimes notice 'popping' sounds whereas I have not noticed this in quality applications such as Winamp. Can anyone please shed any light on this phenomenum i made a recording of it, but i can't post it up here Are you saying an mp3 that plays fine in Winamp makes popping sounds when you play it in media player, both in code and when you just use media player to pl ...Show All
Jst_Brad checkbox problem
Can anyone help me find information on how to handle check boxes and groupboxes I'm new to visual basic. Any suggestions are much appreciated. Thanks a lot in advance Alex Be careful not to mix up checkboxes and radiobuttons. A groupbox is pretty much designed to host a set of radiobuttons. The fact that they live inside a groupbox helps Windows decide which radiobuttons get unselected when you click on one. Checkboxes have no such behav ...Show All
kaz2 databinding
Hi anybody, I'm new to visual studio express 2005. I have learned the data binding metho with a simple table. Everything works as told but when I want to change a record, it will change it in memory but not in the database SQL. I want to creat an application that will let user change any record. Can someone help Thanks. Well, I found some answers already. The VS Express 2005 is limited and will not let The user change the database i ...Show All
thinhbui DataSet DataTable Typing Question
I have a typed DataSet with several DataTables in it. One of the DataTables in it I use as a template to clone dynamically created tables from. I can't seem to cast the clones as the table type that it cloned itself from. Dim NewTable As New DataSet1.MyItemDataTable NewTable = CType (Dset.MyItem.Clone, DataSet1.MyItemDataTable) Dset.Tables.Add(NewTable) Once I do this I then save the DataSet as an XML file so that when the ...Show All
PhilipT Internet Cafe Application
Hi Everyone, I am currently developing an specific Internet Cafe application, that really doesn't exists yet. It has additional features. As I am not advanced programmer, I have got to a stage where I am stuck. I am trying to make my application hide, using another computer. Bascailly there will be 1 admin system, and about 10 computers. But using the admin computer, I want to send commands. How do I do that in VB.NET. and can it be don ...Show All
sjoerdje Accessing a DataSource. First time works, 2nd doesn't.
Hello, As you'll determine, I am new to Visual Basic, but know VBA with Excel, and I've recently started using Visual Basic 2005 Express Beta 2. I added a Microsoft Access Database as a DataSource, tested the connection, leaving a blank username/password then drug a couple of tables to a userform as text boxes to experiment, all was well. The next time I opened Visual Basic, I got a security exception: Request for the permission of typ ...Show All
JohnnyAV ports
Is there any API functions to find modem that are connected to my computer I want to get the full name and type of modem and wich port it is connected to like in the device manager. Thank you. ...Show All
DetBerMer Installing VB2005 Pro over Express
Hello, I am using VB2005 Express for a while. I want to install full version VB2005 pro over the Express version. What do I need to do Do I need to first uninstall VB2 Express Also can I use SQL 2005 Express with VB2005 Pro Thank you. Athena Although you can install over the express edition I would recommend starting fresh by unistalling express and then installing pro! And yes you ...Show All
