20,285 Topics

Member Avatar for
Member Avatar for Trebron

Hi All, Just thought I would give some thing back to this site as its helped me before with varoius problems anyway I wrote a UDF to enable users to run Macro`s in excel here is the function below [CODE] Private Sub RunExcelMacros(ByVal Path As String, ByVal MacroName As String) …

Member Avatar for Trebron
0
11K
Member Avatar for swathys

hi, I have a problem with the below code. It gives error [COLOR="Red"]Public member 'resolveExternal' on type 'DOMDocumentClass' not found.[/COLOR] at the palce i mark in green. Please help me to solve this..... [CODE]Public Sub ReadIndXML(ByVal LoopID As Integer) Dim strXMLPath As String '= "" Dim xmlRoot As MSXML.IXMLDOMElement Dim …

Member Avatar for kvprajapati
0
167
Member Avatar for ITATIES

Please be kind enough to let me know how to create Crystal Reports for Visual Studio 2005 for a Client Server application? The problem I faced is that when I created Crystal Reports for Visual Studio 2005 where the Crystal Report is displayed in the client application it does not …

Member Avatar for kvprajapati
0
177
Member Avatar for BonezAphex

What would be the best way to show how many users are using your Application. For instance, Having a label show how many users have used it/are using it. Any helpful information would be appreciated.

Member Avatar for kvprajapati
0
38
Member Avatar for Slushqueen

I'm working on a debugging assignment and I'm stuck! Can anyone give me a tip on where to start with this? I'm so lost! It is to display the number of words in a sentence then give the average of the characters per sentence and display each individual word in …

Member Avatar for kvprajapati
0
141
Member Avatar for tinstar

How do I save the information from each activation of the code inside the loop. I decided to try this a different way. I also need to know how to create colums in a lable if anyone can help it would be appreciated. Copy of the For Next loop below: …

Member Avatar for tinstar
0
84
Member Avatar for Mike Bishop

Afternoon All, I have ran into a problem that i cant get my head around, I have the following code(see below) this all works fine if there is a imgID ='5' but if there isn't a record in the sql table with the imgID 5 then i get the following …

Member Avatar for Mike Bishop
0
136
Member Avatar for RenanLazarotto

Hey guys! I'm going to start a new project, that will make a simple backup of some hard-to-find files. It'll compress it to a single file (output format will be selectable), but I want it to use a user-defined output dir. Can someone explain me a bit of how to …

Member Avatar for RenanLazarotto
0
84
Member Avatar for littlejw

okay so this is really killing me... does anyone know where there is some good information on the subject. all i want to do is make an app that can read and possibliby extract messages from a .pst and or .ost file... any help is greatly appreciated. John L

Member Avatar for VBSietle
-1
465
Member Avatar for Macky Dave

Please help me how to count the specific records on my database using VB.Net I dont know the code to count the number of male in my database using VB.Net What i want to happen is when I click the cmd totalmale, The Total number of male in my database …

Member Avatar for Macky Dave
0
118
Member Avatar for Rosemine

Hello friends, below is part of my html code, i have already written the vb function to retrieve a web page's generated html code and display it in a richtextbox but now i have to count the number of buttons found on this web page, that is count the number …

Member Avatar for jlego
0
174
Member Avatar for dorothy.v
Member Avatar for jlego

i have never imported anything from a .csv file before i have an app that downloads a .csv file from a website and saves it locally (could probably even skip this step and just read it from the website) it then needs to read the .csv file and insert the …

Member Avatar for jlego
0
404
Member Avatar for fereak

Hey, I'm a student, doing VB at college. I've been trying to make a program to compute Pi, and am making good progress, I think I know what to do. However, part of the algorithm requires me to cube a number. The way I'm doing it is having stored the …

Member Avatar for fereak
0
181
Member Avatar for Chaos3737

Please help! I'm trying to install Visual Basic Express edition 2010 on my windows Vista computer. The .net framework 4.0 is installed (or so the control panel says), but the visual basic installation fails every time it gets to "Microsoft Visual Basic 2010 Express," which is the first item to …

Member Avatar for gracelyn
0
165
Member Avatar for cardinalxp

hello I have installed the fax service in windows. I want to write a code in vb.net program that start receiving from a fax call. please instruct me.

Member Avatar for cardinalxp
0
81
Member Avatar for x2fair

hi, i'm christopher. and sorry because my english is not good.i am creating a new program whch is Document Tracking System Integrated with Barcode which one of my project..my problem is I am new in vb 2008. I create a random numbers and I want it to be converted and …

Member Avatar for x2fair
0
109
Member Avatar for perryg30313

I have a datagrid that I use to display data from a SQL 2000 table. I am trying to write back any changes the user makes to the datagrid data back to the original table but don't know the proper method to do this. Can anyone help? Here is the …

0
84
Member Avatar for tendaimare

i have this insert code and its giving errors because there is something wrong with the connection string. [CODE] Dim MyConnection As SqlConnection Dim SqlString As String = "INSERT INTO items_table (item) VALUES ('" & Me.txtItem.Text & "')" 'Dim data_base As String = " Data Source=.\SQLEXPRESS;AttachDbFilename="C:\vb2008\Visual Studio 2008\Projects\morevariables\morevariables\App_Data\test_db.mdf";Integrated Security=True;User Instance=True" …

Member Avatar for kvprajapati
0
86
Member Avatar for frank33

I am formally studying VB.NET and the teacher has temporarily left us with a textbook to study. In a chapter on Arrays an example of actual code is given, as shown at the bottom here. We use Microsoft Visual Basic 2008 Express edition for our code. However a simple Copy&Paste …

Member Avatar for kvprajapati
0
242
Member Avatar for Steve Mac

Can somebody help me here? i have managed to import excel data into a datagridview but am having problems saving and updating it. It is saving alright but when it comes to updating that's when i have problems. here is my code: [code] If mysqldr.HasRows Then mysqldr.Close() newcommand = New …

Member Avatar for Steve Mac
0
81
Member Avatar for deepak420

for answers-- mail your problem to me at-- [B][COLOR="Red"]Email Snipped[/COLOR][/B] thanks

Member Avatar for tendaimare
-1
71
Member Avatar for gangaloves7

hi can anyone plz tell me how to create a ms-access database with table in run time i mean i want to create a database when user run the application thanks

Member Avatar for kvprajapati
-2
132
Member Avatar for bhagawatshinde

Hi, I am using the richtextbox selectionstart and selectionLength property for finding some text but its not working . can anybody help me please .... [COLOR="Red"]here is my code[/COLOR] [code] Dim startPos As Integer Dim endPos As Integer RichTextBox8.Rtf = RichTextBox8.Rtf startPos = InStr(RichTextBox8.Rtf, "\objw") endPos = InStr(RichTextBox8.Rtf, "\objh") Dim …

Member Avatar for bhagawatshinde
-1
261
Member Avatar for bhagawatshinde

Hi, I am developing an application in vb.net. In one form i am showing the math type equations in the web browser but the text is displayed normally but math type equation not displayed properly. In detail one form i am showing the data in the Richtextbox which contains text …

Member Avatar for bhagawatshinde
0
388
Member Avatar for CharliePrynn

Hey, I have this code [CODE]Public Class Form1 Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Integer, ByVal dx As Integer, ByVal dy As Integer, ByVal cButtons As Integer, ByVal dwExtraInfo As Integer) Private Const MOUSEEVENTF_MOVE As Integer = &H1 ' mouse move Private Const MOUSEEVENTF_LEFTDOWN As Integer = …

0
150
Member Avatar for nore

Hello all, i want to know some textbox case. I want to make my textbox (example textbox1) only can be written by numeral, if there was non numeral input, textbox1 not allow or just being ignored. Thanks for attention or help :)

Member Avatar for nore
0
350
Member Avatar for jcb0806

Using VbScript:: I have a list of several different prices and I'm trying to figure out how to round these 5 decimals adding zeros if necessary. For example: I want 2.84 3.1 4.896 to look like 2.84000 3.10000 4.89600 Can somebody please help me? Thanks!

Member Avatar for jcb0806
0
212
Member Avatar for markdean.expres

I have posted more than one once about this but no one has ever given me the answer that I really need. How do I filter my datareport in vb 2008? When I run my form containing my datareport everything is being displayed. Is it possible to filter my datareport? …

Member Avatar for markdean.expres
0
40
Member Avatar for ukshir

hi, I have a windows forms application with one exe and several dlls(Class libraries) in a single solution. The application uses common data that is used across all the dlls. I would like to load the data when the application is starting up and use the loaded data at various …

Member Avatar for GuruJin
0
175
Member Avatar for dhirananda

can someone help me how to connect database from ms access to vb.net?????? please help me.. :(

Member Avatar for deshmukh dinesh
0
812
Member Avatar for markdean.expres

Hi, I have posted a question regarding this but no one has ever had the will to help. Maybe it was too long so I'm cutting it down to this more simplified question; How do I create subtables in MS Access 2007, or is it possible in the first place? …

0
51
Member Avatar for tendaimare

i have this function and it is giving me this warning. and i have many similar functions so by the time i'll be done i'll have a thousand warnings how can i get rid of the warnings Function 'SelectRows_local' doesn't return a value on all code paths. A null reference …

Member Avatar for Unhnd_Exception
0
110
Member Avatar for BleepyE

Hi, I was just wondering if there was anyway to create some sort of stopwatch, that doesnt include labels signifing, milli seconds etc? Thanks

Member Avatar for BleepyE
0
115
Member Avatar for anqe_tb

Hi All, I've looked everywhere and cannot find a reason for this. I'm essentially try ing to loop through every row in a datagridview, and trying to remove the entire row, if a certain cell's value matches another value. Please find the code below. This is working, however is skipping …

Member Avatar for anqe_tb
0
785
Member Avatar for jason7361

Hi! everyone. I am doing a bar chart project. my project should looks like this: [img]http://i6.tinypic.com/86gjn2e.jpg[/img] the problem i have right now is that i don't know how to draw the rectangle in the right way. my rectangle start to draw at the left top, how do i fix my …

Member Avatar for eltincho2202
0
412
Member Avatar for emaduddeen

Hi Everyone, Can you help me out of a concurrency violation error? It happens on this statement: [CODE] objDataAdapterCustomerDetails.UpdateCommand = _ objCommandBuilderParentDetails.GetUpdateCommand [/CODE] It thinks I'm using a key value of 1 when the actual value is really 1218. I'm using a command builder and I'm also new to doing …

Member Avatar for emaduddeen
0
142
Member Avatar for satiss7pwr

i have one window application developed in VS 2005 which is running successfully on client side,My question is that now i want to convert this window application in WPF browser based application, so what should i keep in mind to convert this application to wpf applicaton, One more thing that …

Member Avatar for satiss7pwr
0
955
Member Avatar for suis

Hi every body, I have a big problem, well my problem is i have a collection of .PST file in my hard drive now i have to write a programme using vb.Net to READ .PST files ! basically i need to be able to read the content of the .PST …

Member Avatar for David699
0
394
Member Avatar for tendaimare

I am trying to carry out a synchronisation of two databases one on the server and the other on a local machine so that even when they are not connected on the networkthe local database can carry on accepting data but when the network is back on the local database …

Member Avatar for kvprajapati
0
206
Member Avatar for cirno

Hello again, codegurus. I need to ask your assistance in converting string to datetype, from 'dd/mm/yyyy' to 'yyyy-mm-dd'. The user could key in either the 'dd/mm/yyyy' format or 'yyyy-mm-dd' format in a textbox. the system would check for both format and convert both to the 'yyyy-mm-dd' date format, to be …

Member Avatar for cirno
0
5K
Member Avatar for rick.eavans

[CODE] Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.Data.SqlClient.SqlConnection Public Class Order Inherits System.Windows.Forms.Form Dim myConnection As New SqlConnection Dim myCommand As New SqlCommand Dim ds As New DataSet Dim cmdtext As Integer Dim action As String Dim view As DataView Dim dr As SqlDataReader Sub fill() Dim adp As New SqlDataAdapter …

Member Avatar for kvprajapati
0
110
Member Avatar for saiju_menon

I am developing an application which downloads pdf files, then water marks and then print. Downloading part is completed using internet controls and water marking also done using itextsharp dll. With the following code I am able to set the printer also. [CODE]Public Function SetPrinter(ByVal prtName As String) As Boolean …

Member Avatar for saiju_menon
0
553
Member Avatar for ryan311

[CODE] ryan = "Select A.*, B.* from training as A, participant as B where B.partname = '" & TextBox1.Text & "' and A.traincode = 'B.traincode'" rs1.CursorLocation = ADODB.CursorLocationEnum.adUseClient rs1.Open(ryan, cn, ADODB.CursorTypeEnum.adOpenDynamic, ADODB.LockTypeEnum.adLockOptimistic) Form11.ListView1.Items.Clear() Dim AddItem As ListViewItem Do While Not rs1.EOF AddItem = New ListViewItem(rs1.Fields!traincode.Value.ToString) AddItem.SubItems.Add(rs1.B.Fields!title.Value) AddItem.SubItems.Add(rs1.Fields!venue.Value) AddItem.SubItems.Add(rs1.Fields!sdate.Value & "-" …

Member Avatar for crapulency
0
157
Member Avatar for sidyusuf

Hi everyone.I m new to vb.net and i m presently working on a project "Telecom Billing System".I have two different forms for "Adding New Connections" and "View Connections", Firsty i m unable to add new connections.... Moreover on "view connection" form,i can navigate the records but i want that when …

0
43
Member Avatar for ruchi18

hi i am working in .net project with c# coding i had design all of my forms in unsequential manner now at the time of debugging it shows some other which is the first form as in vb design but according to my procedure its not so how to start …

Member Avatar for Kinney
0
74
Member Avatar for IAFYM

Hi, I'm writing my own DLLs in vb.net. I'm making a DLL which contains layouts for printed forms - so these layouts could be updated easily. I'm using a DLL, because well... I dont know how else to do it really. But I want values from a form to be …

0
40
Member Avatar for tendaimare

can someone help me with why this code is not inserting into the database [CODE] Dim MyConnection As SqlConnection Dim sqlstring As String = "INSERT INTO Workers (FName, LName, FullName) VALUES ('" & Me.txtName.Text & "', '" & Me.txtSurname.Text & "', '" & Me.txtFullName.Text & "')" 'Dim data_base As String …

Member Avatar for tendaimare
0
122
Member Avatar for bklynman01

I am working on exporting some data to a DataGrid (with no luck). So far I have: [CODE] Private Sub SaveDoc() Dim MyConn As System.Data.OleDb.OleDbConnection Dim DtSet As System.Data.DataSet Dim MyCommand As System.Data.OleDb.OleDbDataAdapter Try MyConn = New System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; Data Source='c:\book2.xls'; Extended Properties=Excel 8.0;") MyCommand = New System.Data.OleDb.OleDbDataAdapter("select * from [Sheet]", …

Member Avatar for bklynman01
0
142
Member Avatar for markdean.expres

Hi everyone! I have been a member of this community and I have found it really to be very helpful. Without Daniweb, I could have not finished my system(thesis). But I have another concern. We were given another project, and should we be fail to finish this before the school …

0
61

The End.