20,284 Topics

Member Avatar for
Member Avatar for GeekPlease

Hello folks, I'm currently studying how to use LinQ in VB.NET but I guess I'm stock. I'm using VS 2008 version (framework) 2.0 Anyone who can help me get through this??

Member Avatar for GeekPlease
0
285
Member Avatar for zurehman

Hi sir i m new in vb.net . i want to add product record , in text box i enter packing 25's but 25's not add in table , when i change it 25s it saved. but my requirement is to save 25's. what i do thanks zia

Member Avatar for M.Waqas Aslam
0
125
Member Avatar for IsaacMessi10

Hey guys so how can I actually make a Tab Control using [this](https://docs.google.com/file/d/0Bx-ETTSBtAAfUFM0R2tBUDFpQUE/edit?usp=sharing) image as an active tab and [this](https://docs.google.com/file/d/0Bx-ETTSBtAAfRElBUnkyWkphMkk/edit?usp=sharing) one as an inactive tab. I've already read something about Drawing Tabs but I didn't quite understand it. Thanks.

Member Avatar for IsaacMessi10
0
462
Member Avatar for Learner010

i want to call event procedures (button1_click etc.) on certain conditions Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If e.KeyChar = "A" then 'here i don't know how to call button1_click procedure End If here is what i want to do :- whenever any character …

Member Avatar for Luc001
0
365
Member Avatar for joshl_1995

Hello Community, I'm trying to make a way to post data to my php file located on my website, I tried it on my Windows 8 laptop; it worked fine, then tried it out on my Windows 7 laptop and for some reason it won't work. I have gone through …

0
186
Member Avatar for Eternal Newbie

Is there a way to set a window to the top on screen and set focus on it? I'm having a menu in VB.Net calling a bunch of .exe. Everytime a window apears, it runs itself to the top on screen. But there was a window, problem-able one, with some …

Member Avatar for Eternal Newbie
0
13K
Member Avatar for Eternal Newbie

Hmm, normally, I just cut all those controls out and delete the GroupBox. But, it's not easy all the time, so me just wondering if there was a way to do it without touching the child controls. Remove the relationship? Or other otions?

Member Avatar for Eternal Newbie
0
3K
Member Avatar for tieties

Ok so im reading int values from an sql database but then the "Executor" comes back as a hex value and it is declared as a int value in sql..all the bit field values i have comes back correctly accept the int values. can someone help me ons this, what …

Member Avatar for Eternal Newbie
0
175
Member Avatar for dev.mohitpatel

:Notes Repeater :Dim Notes RepeaterDataSource As sqlDataSource = e.Row.FindControl("DataSource1") :NotesRepeater DataSource.Select Command = "SELECT *FROM [contact.Notes] WHERE Type = 'POC' AND ContactID = " & Me.ContactsGridview.Datakeys(e,row.RowIndex).value

Member Avatar for dev.mohitpatel
-1
120
Member Avatar for kindofsudden

Okay, I'm pulling my hair out. I'm getting NO error on the following code: Dim cmd As New OleDb.OleDbCommand("CREATE TABLE [" + empTableName + "] ([ID] DOUBLE, " & _ "[LnameFname] TEXT(255), " & _ "[Location] TEXT(255), " & _ "[SalaryOld] DOUBLE, " & _ "[FtePercentage] DOUBLE, " & _ …

Member Avatar for kindofsudden
0
250
Member Avatar for ron117

Hi experts, Im Ron and i have just recently started using VB and have written a small application for sending SMSes. Code: Imports System.Net Imports System.IO Public Class Form1 Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) End Sub Private Sub Button1_Click(ByVal sender As Object, ByVal e As …

Member Avatar for ron117
0
286
Member Avatar for GeekPlease

Good day folks, I was trying to do a simple project but somehow I'm stocked with it. What I want to do is to get the index of a column in datagridview when a cell is changed? For example this is a dgv: ID | UserID | Status | 1 …

Member Avatar for Eternal Newbie
0
214
Member Avatar for welly.sinclair

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim b As String = "" If TextBox1.Text = "" Or TextBox2.Text = "" Then MsgBox("Data tidak lengkap", MsgBoxStyle.Information, "Login") Else conect = "select * from tbl_id" cmd = New SqlCommand(conect) dr = cmd.ExecuteReader() Try While dr.Read If …

Member Avatar for GeekPlease
0
272
Member Avatar for chint

I was using the following code to enter an image url at `TextBox1` and display it in `PictureBox1`.Everything worked. But suddenly the displayed image quality is lower than the original link. I've tried `PictureBox1.Load(TextBox1.Text)` and changing `SizeMode` still the same result. Imports System.Net Public Class Form1 Dim client As WebClient …

Member Avatar for chint
0
515
Member Avatar for Shan_1

my not getting the values from the textbox when i pressed the button please see the code and give me a solution please.. i want my textbox value to be displayed in the msgbox with textbox.name and button.name Public Class Form1 Dim txtadd1 As New TextBox() Dim txtadd2 As New …

Member Avatar for Begginnerdev
0
151
Member Avatar for Learner010

how to create controls(like button , textbox) dynamically , i want to create these for 10 or may be more than 10 times . so i think i have to go through loops and probably i can do that but the problem is that how to create controls in runtime. …

Member Avatar for Learner010
0
409
Member Avatar for Gus_19

First off, I apologize since I do not have my code already done in front of me to post, but I've been doing a bit of research with no real guidance or understanding on what to do. I've created a dgv as a seperate form from my main one, consisting …

Member Avatar for Gus_19
0
287
Member Avatar for jaejoong

Hi, I would like to know how to hide url link? Example: http://localhost:111/Testdata/page1.aspx?id=1234&year=2013 to http://localhost:111/Testdata/page1.aspx I have tried Server.Transfer but the page from page2 is not http://localhost:111/Testdata/page2.aspx instead it appears http://localhost:111/Testdata/page1.aspx Could someone help me. Thank you!

Member Avatar for M.Waqas Aslam
0
84
Member Avatar for joeyliew7

How to get the imgbtnView image button in gridview to display the row of data? i try to use modelpopupextender but the targetid is invalid because the image button is in the gridview. when click on imgbtnView, solistPanel will be display now i cant display the solistPanel. please help <table …

Member Avatar for joeyliew7
0
671
Member Avatar for roybillstrom

I am writing a picture viewer to reside in "Program Files" directory. I then right click on a picture file in any other directory and use "Open with" to optionally chose my viewer. I know how to do all this. But how do I send to my program the path …

Member Avatar for roybillstrom
0
91
Member Avatar for xrjf

The days when the calculator had almost 3 thousand visits a day have gone. Since then, there have been several major versions and lots of minor versions. Somehow, I feel pleased in that the present core algorithm follows the rules of the first I read; of course, extending the simplicity …

0
414
Member Avatar for Jake.20

Greetings fellow vb.net programmers, Today i really, really need your help i'm having difficulty in display the quiz items in each textbox i'm out of ideas. What i need to do is. I need to display all the question that is in the database to the textboxes i thought of …

Member Avatar for Jake.20
0
155
Member Avatar for pardeep3dec

Dear Experts, I am facing following problem with oracle 11g while programming. ORA-12505: TNS:listener does not currently know of SID given in connect descriptor System has four database is connecting through sql developer successfully but ohters are not connected. When i am again creating same database for correcting error it …

Member Avatar for charlybones
0
114
Member Avatar for bryann

I've built an application that displays the contents of an access database in a datagrid and also a form which allows a user to add a new record to the database. When I tried to run the exe in the bin folder on another computer it displays an error when …

Member Avatar for bryann
0
532
Member Avatar for screwu52

Is there anyway to save what I type? Ex. Im online and I start searching things, is there anyway to go back and see a list or something of all of the things I typed?

Member Avatar for Eternal Newbie
0
130
Member Avatar for IsaacMessi10

Hey Guys! I've been working on a CLI. Basically I want to recreate the Command Prompt using more user friendly commands. The thing is, as I'm using a RTB the 'Return' Key won't produce a value but it will only skip a line. How can I fix this? Below is …

Member Avatar for IsaacMessi10
0
1K
Member Avatar for mania_comp

Hi guys, I need your help here. I need to develop a form which scans students ID from a barcode and using that ID i need to further operations. For that I have downloaded [B]CODE 39 BARCODE font[/B]. Now what have to do further ?? Barcode scanner will be available …

Member Avatar for Dina_Du
0
453
Member Avatar for Learner010

i want to traverse a checkedlistbox using for each loop for example :- if i want to see that a particular item name exist in checkedlistbox or not. so i think that i need to use for each loop but really don't know how to traverse checkedlistbox using for each …

Member Avatar for GeekPlease
0
139
Member Avatar for Papa_Don

In trying to teach myself about the properties of the textbox, I'm wondering what the propert "Lines" is all about. The value in the property says "String[]Array". When I click this, a box comes up that asks "Enter the strings in the collections (one per line)". Can someone explain to …

Member Avatar for Papa_Don
0
178
Member Avatar for Unused Mass

I have a datagridview that the user can change to various rows and columns (its a grid of squares) When the user presses a button, it generates a list of coordinates of all the squares that are black. That is obviously generated in order. I want it to be mixed …

Member Avatar for tinstaafl
0
464

The End.