19,728 Topics

Member Avatar for
Member Avatar for VB 2012

[CODE]myCoolFile = chosefolder.SelectedPath & "\" & NameofUal.Text & ".Ual" Try Dim myCoolWriter As New IO.StreamWriter(myCoolFile, False , [U][I][B][COLOR="Green"]????[/COLOR][/B][/I][/U]) <-<-<- For i As Integer = 0 To Mainfrm.ShellProgramslis.Items.Count - 1 myCoolWriter.WriteLine(Mainfrm.ShellProgramslis.Items(i).ToString & "~" & Mainfrm.myArrayList(i)) Next myCoolWriter.Close() Catch Erroronwrite As Exception End Try[/CODE] [U][B]Ive got some problems how do i say …

Member Avatar for VB 2012
0
110
Member Avatar for Jake.20

I have some problem with my report. I don't know how to update my report. Every time i enter any data, the report did not show the added data. Please guys i need help. Thank you in advance, God bless.

Member Avatar for Jake.20
0
116
Member Avatar for dejanc

Hello, I have below code for form login using validation from access database. In database I have now three columns, for user, for password, and new one for department. Can someone show me how can I add also a deparment for login validation? Maybe to adda combobox under password and …

0
64
Member Avatar for ninjaimp

Hi I am trying to list all users logged into a speceific server but am getting nowhere. Im using the below code which i have formulated from various resources but it always returns 'not logged in'. when drilling into the oReturn object it says on alot of the items that …

0
65
Member Avatar for tshudyb

I am trying to calculate the 'Profit' field based on the current record's 'ProjectTotalBillingEstimate' field and the 'ProjectActualCost' field. I want the 'Profit' text field to be calculated every time a record is changed, either via the navigation toolbar or the Project ID drop down box. I tried performing the …

Member Avatar for AndreRet
0
258
Member Avatar for TMA

I have a Windows application written in vb.NET 2.0. I recently upgraded it to framework 3.5. For some reason it started to change ‘,’ into ‘.’ in numbers and change the date format, on some of the client computers where it is used. But only in this specific application. I'm …

0
44
Member Avatar for msaranya

Hi, I am trying to include a commented threaded system for my webpage. I have the db design ready... Comments Table Comment Id Parent ID (will be zero for the base comment) Comment Description Submitted by Submitted on I am able to store comments inside the table.I need to display …

0
84
Member Avatar for like_bilal02

Dear Freinds I face a problem that if i make a datattype in sql server of Integer and then use it in linq to sql query it give error of "specific cast not valid" and when i change datatype into varchar the linq to sql query work fine one more …

Member Avatar for like_bilal02
0
52
Member Avatar for newbee2392
Member Avatar for bettybarnes

hi anyone who can help me how do i declare date-time format in vb.net from sql server 2005? i dont know where to put this line [CODE]CONVERT(VARCHAR(10), GETDATE(), 1) AS [MM/DD/YYYY][/CODE]

Member Avatar for bLuEmEzzy
0
234
Member Avatar for whin_lopez
Member Avatar for whin_lopez
0
93
Member Avatar for Dummi

Hi, I've seen sample vb project. It's a console application. There's a code there like [B]Dim q() As String = Environment.GetCommandLineArgs()[/B] First I try to check it by using message box to print it out: the index-0 of q contain a path project vshost --> q(0)="D:\TestService\sample1.vshost.exe" and the index-1 of …

Member Avatar for Dummi
0
752
Member Avatar for dorothy.v

[CODE]If p1at.Text >= 0 Then If p2at.Text >= 0 Then If p3at.Text >= 0 Then If p4at.Text >= 0 Then If p5at.Text >= 0 Then If p1at.Text <= p2at.Text And p1at.Text <= p3at.Text And p1at.Text <= p4at.Text And p1at.Text <= p5at.Text Then If p1at.Text = 0 Then p1ts = p1at.Text …

Member Avatar for Unhnd_Exception
0
162
Member Avatar for zerubbabel
Member Avatar for Netcode

I have a datagridview control on my form. i use this to display data including images. Please how can i set the row height of the datagridview control so the picture can be well displayed? Thanks

Member Avatar for abhay1234
0
258
Member Avatar for battlex2010

i have the following code for getting the number of files on a drive: [CODE] Dim num As Integer = 0 Dim drive As String = "C:" For Each File In System.IO.Directory.GetFiles(drive,"*",System.IO.SearchOption.AllDirectories) Try num += 1 Label5.Text = String.Format("Files found: {0}", num) If num > 50 Then RaiseEvent start() End …

Member Avatar for Unhnd_Exception
0
191
Member Avatar for arezz09

i have create 2 form , 1 database 1 textbox and 1 button reset in form 1 = "fill current username" = textbox1, button = reset.... 3 text and 1 button on form 2...new username = textbox 3,new password = textbox4,confirmpass = textbox5 and 1 button "sign up"..i just wondering, …

Member Avatar for arezz09
0
331
Member Avatar for ninjaimp

hi I thought this was simple so i guess i am doing something wrong. I want to read the value of an item in the registry. the value im after is the centralprofile key which im trying to get by passing the SID and looking up the subkey but it …

Member Avatar for ninjaimp
0
204
Member Avatar for bklynman01

I have a section of code that builds a table as the user enters information. I'm having trouble figuring out how to navigate through this table. There is a NEXT button and a BACK button. When they hit NEXT, either the next row loads, or the textboxes are emptied out. …

Member Avatar for bklynman01
0
314
Member Avatar for cmgarnett

I have just opened an old application with VS 2010 and it has converted it to .Net 4 but after it suggested that I use the ReplyToList property rather then the old ReplyTo property, I cannot get the application to build. It keeps telling me that "'ReplyToList' is not a …

0
54
Member Avatar for axman1000

I have a task. I will be receiving anywhere between 1 and 4 files daily from one single email id. I would like to extract these attachments, save it to my local drive, and then, extract the data from there into a database. I do not/will not be using Outlook …

0
103
Member Avatar for Dheerajpro

hello frnd i hav created crystal report my database name is schools and its giving exception ,,,,,,,,, exception in form loading my coding is <crystal report> Imports CrystalDecisions.CrystalReports.Engine Imports System.Data.SqlClient Public Class CRSTECHERS Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click End Sub Private Sub CRSTECHERS_Load(ByVal …

0
35
Member Avatar for vn412

Hi, I am generating table with Microsoft.Office.Interop.Word In my table cell values i get is: 7, 11, 13, 14, 15, 18, 28, 29, *25,26,28 Now my prob is i want to replace ,* with new line in word. i have written this code [CODE] tbl.Cell(i, 4).Range.Text = tbl.Cell(i, 4).Range.Text.Replace(", *", …

0
69
Member Avatar for bettybarnes

Hi guys,, im having problem with my stored procedure. i dont know how to make it show..when i click on a particular record on my datagridview it should display another form with its corresponding laboratory records, radiology records and so on.. here is my code [CODE]ALTER PROCEDURE dbo.ViewAllLabRecords ( @lab_Record_ID …

Member Avatar for bettybarnes
0
92
Member Avatar for lielee

Hello. I'm doing project using richtextbox and want to save the contents in Access. But my contents is a list and when I saved it, the list become one line, with a square to space it. Can it actually be done? I set the column with memo type. Here's my …

Member Avatar for lielee
0
230
Member Avatar for razree

Hi all I want to be able to calculate the difference between two dates, written in SQL db. The difference must be in days/hours format. This is my code: [CODE] Dim SQLConn As New SqlConnection() Dim SQLCmd As New SqlCommand() Dim dr As SqlDataReader Dim arrival As Date Dim departure …

Member Avatar for razree
0
286
Member Avatar for mhosny

Hi, What I want to know is how can I get Internet Explorer address bar information (URL)? When i`m type into address bar e.g. [url]http://www.google.com[/url], i want to get message with the same URL e.g. Welcome to [url]http://www.google.com[/url] How to get this? Note: I will add a button for my …

Member Avatar for AndreRet
0
924
Member Avatar for prettytonyshort

This is a homework assignment. I have the hardest time with arrays and I believe that is what is being a pain in my butt currently. I'm getting an argument null exception, which I believe is translating to "Tony you messed up another array." A jumping off point would be …

Member Avatar for ndeniche
0
138
Member Avatar for FanionGolfer

Hey Im just wondering if anyone could help me with this timer project Im working on... The purpose of this project is to keep tract of the time a classroom of students is working, not working and then total time of the class. So far I have only the seconds …

Member Avatar for WaltP
0
329
Member Avatar for arjen

hello guys, I have a problem wiht my vb studio 2008 .When I reformat my laptop to window 7 64bit the problem is that my program "internet cafe" on first run there is so could vshost.exe not working problem then when i cancel it show another warning about the program …

Member Avatar for arjen
0
206

The End.