473,699 Members | 2,562 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

1
18,750
Prathap
thread by: Prathap | last post Jan 19 '13 by: IronRazer
Here is my code to save image in a folder,but i am getting this error(a generic error occurred in gdi+). Could someone please help me? Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If (Not System.IO.Directory.Exists("d:/posimage")) Then ...
1
3,774
thread by: kamikazehigh | last post Jan 19 '13 by: IronRazer
I need to write this sample code so that the resulting image is the exact same as the original. Dim a = New Bitmap( _ My.Application.Info.DirectoryPath & "\a.png") Dim b As New Bitmap(a.Width, a.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb) Dim g As Graphics = Graphics.FromImage(b) ...
1
1,158
thread by: metagoth | last post Jan 19 '13 by: IronRazer
I am facing an issue. Actually what i am doing is that i am tryin to store certain values in a database. A function is such that it calculates 5 values and stores them in a database. While storing them in the database it displays them in a textbox on the form. Now i want to display them one by one which it does. But it does it so fast that i can...
1
1,543
thread by: Mihail | last post Jan 19 '13 by: IronRazer
Hello ! I try to switch from VB6 to VB.NET. For now I use 2008 Express Edition. Look at this code, please: Public Class frmMovieBuild Dim StopMovie As Boolean Private Sub cmdPlayMovie_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPlayMovie.Click
2
3,974
IronRazer
thread by: IronRazer | last post Jan 19 '13 by: IronRazer
I am running a process in my GUI program that starts ffmpeg in a hidden cmd shell. I need to make it so when i press the STOP button on my GUI it sends a key stroke message to the cmd shell as if i pressed the "q" key which would tell ffmpeg to stop. I can`t use the Process.Kill() command because it messes up the file that ffmpeg is making. I...
1
1,074
thread by: sros | last post Jan 18 '13 by: Rabbit
According to title i would like to add more of this question that I want to write code in vb.net and the topic that related to proxy pattern.I want to client perform folder if they have password and username. if user no password or username, they can't perform this folder. All right, design it by proxy pattern .
4
2,400
TXShooter
thread by: TXShooter | last post Jan 17 '13 by: isaaccw
I'm trying to process the returndata from this device: http://www.controlbyweb.com/support/five-input.html My code is thus: Public Class ControlByWebTester_Form Private Sub Read_DAQ() Dim tcpClient As New System.Net.Sockets.TcpClient() Dim port As Integer Dim ipAddr As String = Convert.ToString(IPAddr_TextBox.Text)
0
1,340
thread by: donatsabu6 | last post Jan 17 '13 by: donatsabu6
Hi, when i am connecting my Vb.net application to ms access database, in the Add Connection dialog box, after specifying the Provider (Microsoft Access Database File (OLE DB)) and the file name (C:\Users\MyAccount\Desktop\Contacts.accdb), when i click on the Test Connection button, it says "Test Connection Succeded" to mean that it's ok. But...
3
3,835
IronRazer
thread by: IronRazer | last post Jan 17 '13 by: IronRazer
I am making a program that uses dshow devices. I need to find the names of the device or devices such as "SoundMAX Digital Audio" or "SoC PC-Camra". How do i get the names and put them into a listbox so i can choose the device i want to use ? I only need the audio devices but i can filter out the rest if i can just figure out how to get the name....
0
1,430
thread by: gsandy123 | last post Jan 16 '13 by: gsandy123
I am dealing with some memory problem. My application is migrated from VB6 to VB.Net 3.5 and contains lots of forms. As I open form memory increases and after closing the form it remains the same. So after some time the memory goes on increasing and app becomes very slow. Memory Profiler showed many from controls like button and check boxes in Top...
0
918
thread by: akocjello | last post Jan 16 '13 by: akocjello
this is my stored procedure... how can i get the value of a datetimepicker1 in vb.net form and stored it in @date1 and @date2 CREATE PROCEDURE SAT @date1 datetime, @date2 datetime AS SELECT DISTINCT cnsgne, broker,
0
1,147
thread by: LucasGP | last post Jan 15 '13 by: LucasGP
Hi All, I have an application with a class "template" and Dlls which contain objects inheritated from "template". During run time I want to use the class in the Dlls (I will only access the method, variables and properties matching the "template" class). I guess that I need to instanciate the Dll class into an object "template" because that...
0
1,447
thread by: Kelapa | last post Jan 15 '13 by: Kelapa
Here is the lines of code that I only need txtFind.Text's text as bold at the last part of ListBox1.Add(........) How do I make it? Private Sub btnFindAndBring_Click(sender As Object, e As EventArgs) Handles btnFindAndBring.Click Dim folderName As String Dim ifileAmount As Integer If FolderBrowserDialog1....
0
1,053
thread by: LingProf | last post Jan 14 '13 by: LingProf
I read MadApe's solution (http://bytes.com/topic/visual-basic-net/answers/791596-how-do-i-create-tooltip-programatically-programaticallygenerated-label) to a problem I am having, too, with ToolTips that are set to labels and richtextboxes added onto a tab page, in VB 2010 (Windows 7, 32-bit). Like MadApe's, my ToolTips did not appear, and I...
0
1,128
TXShooter
thread by: TXShooter | last post Jan 9 '13 by: TXShooter
I am still new to VB Programming, and I'm seeking advice in Visual Basic on how to write a program that will perform the following duties: 1) Install as a service on Windows Server Platforms 2) Display a splash screen upon bootup/service start 3) Read in an XML file for settings 4) Listen on LAN for messages from remote computers 5) Send...
1
2,136
thread by: pbskat | last post Jan 9 '13 by: pbskat
Hi all, I have an application that opens a form using frmWebQ.Show() and there it asks the user a question. Instead of replying immediately the user can choose to be reminded later (after a selectable time periods betwen 10 min and 30 days). When remind later is chosen the form activates a timer for the requested time period and minimizes...
1
1,339
thread by: Josh Argent | last post Jan 8 '13 by: Josh Argent
Hi, I'm making the second version of my brainstorming and mind mapping software, Open Mind. The way it works simply is that a bubble control is inside a panel and can be dragged around the panel and joined to other bubbles to make a mind map. This works pretty well however an on-going issue is that when working on a large mind map and the...
4
3,327
thread by: kumsay | last post Jan 8 '13 by: kumsay
hi there, I've been working on a movie library. I put a combobox on my form as a search engine. If user wants to search for a movie then type the title of the movie, all possible movie having that title will appear within the dropdown of the combobox. For example, if user typed letter m, all movies stored in the database having a title with m...
3
1,718
TXShooter
thread by: TXShooter | last post Jan 8 '13 by: Rabbit
I've tried, and I've tried, and I've tried... I just can't seem to get a handle on parsing an XML stream from a device. It should be simple, but I MUST be missing something. All I want to do is to display the variables in the XML stream, and the values to those variables, in Me.Labelx.Text format so that my form looks like: input1state = 0...
1
2,736
thread by: dheerloveguru | last post Jan 7 '13 by: Rabbit
Hi, I've re-framed my question. Could anyone solve this for me. I'm using VB 2010 and Access Database file. The database consists of a table called 'usertbl' with 'username', 'type' and 'level' fields. The records are like follows: Record 1 - Username: admin Type: admin Level:1 Record 2 - Username: user1 Type: user Level:2 Record 1 -...
0
1,722
maylortaylor
thread by: maylortaylor | last post Jan 7 '13 by: maylortaylor
I have a pretty simple TimeClock application written in VB (.net4) that I'm trying to add to. The addition will allow the user to change where the service is coming from. In short, I want to be able to programatically change the Endpoint Address in the App.Config file. For reference: <client> <endpoint...
1
3,266
thread by: Gary108 | last post Jan 7 '13 by: Rabbit
Hello, I'm having trouble writing the contents of a ListView Control, one line at a time, to a text file. I am able to write the lines of a ListBox Control to a text file using the code below, but the same will not work for a ListView control even if there are no subitems. In my application I must use the ListView control because I...
1
2,226
thread by: dheerloveguru | last post Jan 7 '13 by: Rabbit
Hi, Could anyone help me out!!! I'm using VB 2010 and Access Database file. My problem is I'm unable to populate the second combobox when selection of item is made from the first combobox. Here is my code: Imports System.Data Imports System.Data.OleDb Public Class Form1
0
1,304
thread by: Gary108 | last post Jan 4 '13 by: Gary108
Hello, In my application I have a Listview Control and I have written the code to move list items either up or down in the list. Also, the item being moved remains highlighted as it goes up or down. That part works fine,... almost. The only glitch in the system is that when I move the list item up, it leaves an outline of a selection on...
0
1,092
thread by: samvb | last post Jan 4 '13 by: samvb
Is there away to create a windows user from .net 2010 but that user can't be used for login? I want something like Sophos AV does...once installed, it creates a user which is visisble in the list of users but it is inaccessible. But behind, it is used to connect to some sort of database server, like express editions. Does .NET have this...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.