Topics
-
- 0 replies
- 931 views
Sorry to bombard you with questions! I have a variable that registers diferent values dependant on a varying voltage. The voltage relates to a temperature sensor (LM335Z). My question is this.. once i have 2 referance figures for 0C and 100C say, if these two figures are 106 and 253 respectivly, how can i then interpolate these to a variable that truly reflects the actual temperature being sensed so i can then display it or use it in other ways? Many thanks! Steve
Last reply by EccentricDyslex, -
- 0 replies
- 794 views
Hi, I would like to ask, whether this can be done or not. I have 1 Strong Type Dataset with a few datatable in it. Let say A and B datatable. I want to merge them based on their primary key and foreign key. I did that according to the msdn, but it's not a strong type. If it can be done, is it the same way too? Thanks. http://msdn.microsoft.com/en-us/library/fk68ew7b(VS.90).aspx
Last reply by brianlee1982, -
-
- Leaders
- 10 replies
- 2.9k views
I am working with OpenGl (Tao Framework) on vb.net. Now, I know that I've implemented opengl correctly but I'm not actually sure where the problem lies with my code. Here is the best explanation of the problem I can come up with. Given: The application I'm working with works perfectly in VB6 but in vb.net I've had to make changes to the UI portion of the code. Most pertinent to the problem at hand is that calls to the paint method of a picturebox can no longer be called as easily. I've had to replace calls to the paint method such as frmBackground.PctAnimate_Paint(Nothing, New System.Windows.Forms.PaintEventArgs(Nothing, Nothing)) with frmbackground.pctanimate.refre…
Last reply by sn1fflez, -
-
- 1 reply
- 780 views
When you add items to the DataGridView1 it will automatically select the 1st row, even if you use DataGridView1.ClearSelection afterwards, the 1st row is still selected! However, my problem is that if you use :: DataGridView1.ClearSelection() DataGridView1.Rows.Item(2).Selected = True DataGridView1.FirstDisplayedScrollingRowIndex = 2 Still the 1st row is selected! :confused: Anyone knows about it? WindowsApplication1.zip
Last reply by joe_pool_is, -
- 1 reply
- 949 views
is there somewhere online where you can sell your software (or give away) through a 3rd party ecommerce solution? and where the public can go and look for cheap solutions to their everyday problems? seems like a good idea. if it doesn't exist, there may be a gap in the market there...
Last reply by joe_pool_is, -
- 1 reply
- 753 views
Hi, I want to scroll to the first selected row in my DataGridView. You know I programmatically select a number of rows, and then want to scroll to the 1st selected row. I heard about FirstDisplayedScrollingRowIndex property but can't figure it. Anyone knows how to find the 1st selected row? and then scroll to it? Thank you :p
Last reply by joe_pool_is, -
-
- Administrators
- Leaders
- 4 replies
- 826 views
Hi All, I need a VB code for the following steps to be perform: 1. to open a standard URL(http://....), select all the contents 2. Copy the contents from the web page fully 3. Paste it into a text file and saving it as .xml file Please Help Thanks in advance
Last reply by snarfblam, -
-
- 0 replies
- 1.2k views
I am using DateTimePicker in most of the forms of my application. Generally, the behavior of the DateTimePicker Control while typing is different from that of Masket Textbox Control. I want to create a User Control just like DateTimePicker Control in which just the typing behavior should be different. When user enters the month(first two digits) the cursor should move to the the date (the next 2 digits) portion and to year part after entering the date. How can I code that ? Please help by giving examples of code. I am using VB .NET 2008
Last reply by haseebhm, -
- 0 replies
- 3.1k views
Hi, I am new to the Directx, Trying to get ending event while audio is ending. I came across a very strange problem, When I create the audio object on the main thread I get the event but If I try to make the object of Audio on a thread or from a callback I did not get the ending event. I have to play an audio on a getting a request from another application on TCP/IP. Since I try to create audio form the TCP callback function. Please suggest what I need to do to get the ending event to send a response back once it is completed.
Last reply by ambujbansal, -
-
- Leaders
- 1 reply
- 2.3k views
I know that you can select a particular row or cell but I want to raise the mouseclick even on a particular cell as I have code in the mouseclick even that I'd like to execute. Does anyone know how I can do this?
Last reply by snarfblam, -
-
- 0 replies
- 5.1k views
I've just had to create a new account (of the same details) because I was deleted for some reason... Admins? Shed some light? EDIT: Not to worry! Didn't notice there were 2 forums, .nettalk and vbtalk. oops
Last reply by nickjf89, -
- 0 replies
- 638 views
Hi, Anyone knows what's the name of this pointer in DataGridView (attached picture)? And how can I move it programatically? I tried: DataGridView1.Rows.Item(2).Selected = True DataGridView1.FirstDisplayedScrollingRowIndex = 2 But didn't work, so how can I move this pointer to the other rows via code?
Last reply by usvpn, -
- 0 replies
- 1.3k views
In our Visual Basic to .Net application migration we have replaced a 3rd party control (SSTreeView) used in VB with TreeView control in the .Net application. We observed a limitation in .Net where we couldn�t achieve the fixed length nodes using the Arial font similar to VB, as detailed in the following section. Fixed length nodes in Tree view: Fixed Length Nodes for the tree view control can be achieved only using "Courier New" Font and right padding. However, in VB Arail font was used and The alignment is perfect! Plz find the attachments For VB and .NET TreeviewNodes Alignement. i dont want to change my Arial Font to courier New.Client Strictly wants Arai…
Last reply by suniligate, -
-
- Leaders
- 1 reply
- 2.3k views
Hi i want to change the intend between the items in Contextmenu strip or Menustrip. I am migrating an app from VB to .NET.The gap between one menu item to another menu item in VB is less compared to .NET intend.How to decrease this intend in .NET
Last reply by snarfblam, -
-
- 1 reply
- 6k views
I want to give my user the ability to provide the url of a web page. I load ie using the following code: Dim IE As New SHDocVw.InternetExplorer IE.Visible = True IE.Navigate("www.msn.com") Now, I want my program to wait until ie is closed, and then I want to capture the url at the time of closing. So, how do I wait for ie to complete and is there an ie event such as beforeclosing that will allow me to get the location property? Please note that I am NOT using the web browser control but rather launching a copy of ie (to make the user's favorites and web history available). Thanks!
Last reply by heabrams, -
-
- Leaders
- 2 replies
- 2.5k views
Hey there, I'm using API's to get the handle to a specific button in an external app. How can I derive the screen position of this child window in order to direct a send click there? Thanks, Jib.
Last reply by Jibrohni, -
-
-
- Administrators
- 3 replies
- 1.6k views
hi i m a cmpleletely newbie in this asp.net field.I have written the following module to update my database by clicking a button. But its giving me an error msg at the line MyAdapter.Fill(MyTable); saying "invalid table name". protected void cmdupdate_Click(object sender, EventArgs e) { if (Page.IsPostBack==true) { DataTable MyTable = new DataTable(); System.Data.OracleClient.OracleConnection conn; OracleCommand cmd; string cmdString1 = "update table hr_rmc_file_mast set file_division=FILE_DIVISION.Text,file_no=FILE_NO.Text,project_code=PROJECT_CODE.Text,no_of_noting=NO_OF_NOTING…
Last reply by PlausiblyDamp, -
-
- 1 reply
- 781 views
i am currently using vb.net. I want to do a program A. When program A is open, it only allows another random program to open like IE or Notepad. But when the user open another program, it will prompt the user to close the program before proceeding. So it only allow the program which open right after the Program A. I am a beginner so please me the exact coding and explain.
Last reply by MTSkull, -
- 1 reply
- 2.8k views
I have a web form that takes in user input. Then I transfer to a Processing page that tells the user to wait while some stuff is happening, and plays a simple flash animation. Source page (GenerateMR) protected void cmdGenerateMR_Click(object sender, EventArgs e) { Server.Transfer("MRProcessing.aspx",true); } Then I try to set an object on the destination page so I can read back the values entered on the source page. Destination Page (MRProcessing) private GenerateMR frmSource; protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) return; …
Last reply by MTSkull, -
- 1 reply
- 1.6k views
Hi, I am creating dynamic textboxes containing a table for each row it have 5 textboxes,and in last textbox when user press enter new row will be created Now my requirement is textbox should not be empty if it is empty user not allowed to proceed unless he/she gives valid data into textbox.I tried all the ways Javascript - OnBlur() events etc; but could not since the control focus going to next textbox even the previous empty and showing alert when I click submit button my requirement is it should not proceed user to any action if the textbox is empty This I acheived in OnBlur() event when the user presses tab.but if user give focus thourgh the mouse it is …
Last reply by MTSkull,
-
Who's Online 0 Members, 0 Anonymous, 62 Guests (See full list)
- There are no registered users currently online