20,284 Topics

Member Avatar for
Member Avatar for Sheryl99

I am using a PictureBox to display images. I have SizeMode set to StretchImage. While this does indeed show the whole image, it is of coure stretched. Is there a way to prepare the image to be displayed so it will fit correctly in the PictureBox? I just want it …

Member Avatar for aamirnikkiaadil
0
5K
Member Avatar for coolsasuke

Hey , yeah. I was wondering if it is possible to hide all desktop icons EXCEPT my application's shortcut ? If it is possible, please tell me how . It is the best if you can provide the code for me. As im a very noob in coding cause im …

Member Avatar for coolsasuke
0
235
Member Avatar for suemaina

Hi plz help me with a code that can detect when a pin number is entered in reverse. and alerts the user that he has entered pin number in reverse ..thanx

Member Avatar for suemaina
0
183
Member Avatar for Pravin Rajput
Member Avatar for mikejs

Gi I have a DataGridView which populates from an SQL query just fine in default mode using these table names [CODE][firstName] [varchar](20) NOT NULL, [lastName] [varchar](20) NOT NULL, [rentpaid] [decimal](18, 0) NOT NULL, [datePaid] [date] NOT NULL, [propRef] [varchar](10) NOT NULL, [rentDue] [decimal](18, 0) NULL,[/CODE] I have edited the column …

Member Avatar for adam_k
0
121
Member Avatar for khentz
Member Avatar for Unhnd_Exception
0
92
Member Avatar for NeeharikaSingh

Hi der i want to download visual studio......i m facing trouble in downloading.........help me to find out link to get it

Member Avatar for NeeharikaSingh
0
60
Member Avatar for mikejs

Hi I have a form which populates a TextBox I want to use the textBox.text to then load a gridView with the results something like [CODE]Private Sub TextBoxId_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBoxIdSearchExist.TextChanged Dim cmd As New SqlCommand("select * from pay Where t_id='" + tId.Text + …

Member Avatar for Oxiegen
0
1K
Member Avatar for DriveU

My Application : Windows Form Application Language : C# I have a DataGridView which I populate with some custom data. Some of the cells are DropDowns that I populate by EnumTypes Some need to be populated by Objects which are multicolumn. On Selection I want to show the MultiColumn Lists …

Member Avatar for nick.crane
0
182
Member Avatar for Kasraeian

Hi Everyone, I'm beginner and currently I'm working on simple application on VB Express 2010 and I want it to save some data in XML file. The XML file is going to look like this: [CODE] <XML> <Info> <X1>some data</X1> <X2>some data</X2> <X3>some data</X3> </Info> <Info> <X1>some data</X1> <X2>some data</X2> …

Member Avatar for lolafuertes
0
99
Member Avatar for twalton42

I can load my edit form withthe selected account from the datagridview on form1 I can update aany of my information but when I save the information it updates the first account in the database. How do I save to the selected account only? This is my save button:[code]'saves the …

Member Avatar for lolafuertes
0
177
Member Avatar for Jason123

I would like to use schtasks commandline to create some scheduled jobs in .NET. However, the scheduled jobs created by ASPNET could not start. The command script works fine within cmd and the scheduled job runs. Any ideas on how to make it work?

Member Avatar for Jason123
0
100
Member Avatar for Trle94

Hey guys i need to make app that sends mail... so i want in subject to make text like "Report - dd/mm/yyyy - hour:minutes" do you have any idea how should i make that? :/

Member Avatar for NetJunkie
0
110
Member Avatar for thing2

Hello, I am building a webbrowser using VB.Net 2010, and I am having trouble updating the url when I switch between open tabs using tabcontrol. I am also using a textbox for the address bar. Any help would be appreciated Thanks!

Member Avatar for NetJunkie
0
698
Member Avatar for iampord

Good day Every one! I am having trouble with my application with shell32.dll. when i debug it in VS it runs well. but when I detach the .exe file and run it to other directory. I get errors. I hope someone could help me. So much of a thanks in …

Member Avatar for iampord
0
165
Member Avatar for Jaycee75

I have a several text files that get updated each month - when they are updated certain lines are missing that I always want adding back to the files - the text I want adding back needs to go into a specific part of the text file(its always the same …

Member Avatar for Jaycee75
0
201
Member Avatar for bbowsh54

Hello Everyone, New to VB.NET... Going through a bunch of tutorials currently. I need help checking if an application is open and then closing it if it is... For an example, I'll use paint or notepad... Does something like this work? [CODE]Dim myProcess As Process = New Process myProcess.StartInfo.FileName = …

Member Avatar for bbowsh54
0
427
Member Avatar for Oneryavuz

i searched a bit but i cant find something useful. i need to take my files to filestream (i can do this with file paths) and i wanna save this files to somewhere else on my program. Is it possible that with the using FileStream? THX for Replys ^^

Member Avatar for Oneryavuz
0
121
Member Avatar for dwinn

Hello, I have created a site in VB.Net and ASP.Net where a user types in a centre code and clicks on 2 buttons to retreive 2 GridView's of records from an SQL Server backend database. The records appear sucessfully, but when I go to sort the records in ascending/descending order, …

Member Avatar for rciprogrammer
0
122
Member Avatar for ismpk

Helo, I am a student. I have create a vb.net application with ms access. i am make it .exe. After that i am instal it my pc working but my friends pc not work. After i am cheking my friends system all. .net framework is intallaled 3.5 thats same as …

Member Avatar for rciprogrammer
0
189
Member Avatar for Reverend Jim

I was doing a little playing around with some scrollbar controls and I noticed an odd behaviour that I was hoping someone could explain. I create three horizontal scrollbar controls, one for each primary colour. Possible values for each R, G or B are 0 to 255. When I set …

Member Avatar for Reverend Jim
1
210
Member Avatar for XEN0

I want to stick this [CODE] Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM 0 WHERE Id = 1", con) Dim reader As OleDbDataReader = cmd.ExecuteReader() If Not reader.HasRows Then MsgBox("Data does not exist") Else MsgBox("Data Exists") End If [/CODE] and this [CODE] If Inc <> -1 Then Dim …

Member Avatar for codeorder
0
214
Member Avatar for Timroden

I'm currently working with the NotifyIcon, and ContextMenus in the notify icon, and was wondering if it is possible to call an event when something is dropped onto the icon. For instance, if I had document.docx, and I dragged it from explorer onto the icon, it would then save it …

Member Avatar for Momerath
0
138
Member Avatar for msrd

I have a label that displays information from my database and I need to format it. It displays a number format like so: (53389) and I just need it to display (53,389) it uses the SQL to COUNT or SUM the data from the datasource. My first question is, is …

Member Avatar for Momerath
0
272
Member Avatar for Bamboozled

I am reading in a text file and displaying the data read in in textboxes. Some of the characters are accented French characters which are not displaying correctly in the form. This prob does not exist with VB6 on the same machine. What do I need to set/change in vb.net …

Member Avatar for lolafuertes
0
700
Member Avatar for tfj

I failed to ask my entire question on part 1. Although codeorder gave me the answer I needed I have one more part which I will put in bold. I have 3 forms: Form1, Form2 and Form99. Form1 and Form2 both call Form99. What statement(s) does Form99 use to determine …

Member Avatar for tfj
0
151
Member Avatar for RenanLazarotto

Hello guys! I want a simple app to crop a bit of some images. The fact is that all the codes I've found were too complicated, and I didn't understood a single letter of it. Can somebody help me with it? The codes I saw where using and start point …

Member Avatar for RenanLazarotto
0
3K
Member Avatar for ievolve

Im trying to download a photo from an rs232 camera.. but when I write the data to file it seems corrupted.. when I look in a hex editor every second value is 00.. I'm assuming Im messing something up with the encoding.. when I'm writing into a byte array.. Excuse …

Member Avatar for ievolve
0
87
Member Avatar for karthi050390
Member Avatar for Pgmer
0
229
Member Avatar for DisasterPiece

[CODE]Dim Open As New OpenFileDialog() Dim myStreamReader As System.IO.StreamReader Open.Filter = "All Files [*.*]|*.*" Open.CheckFileExists = True Open.Title = "Open" Open.ShowDialog(Me) Try Open.OpenFile() myStreamReader = System.IO.File.OpenText(Open.FileName) Me.PictureBox1 = myStreamReader.ReadToEnd[/CODE]

Member Avatar for Teme64
-1
74

The End.