602 Posted Topics

Member Avatar for Dzulham

Hi, You could try something like: Private Sub EnableDisableMyControls (Optional ByVal bEnabled As Boolean =TRUE) NClose.Enabled = bEnabled CloseNote.Enabled = bEnabled CloseNoteContext.Enabled = bEnabled CloseNoteX.Enabled = bEnabled End Sub If tabC.TabCount =1 Then EnableDisableMyControls(TRUE) Else EnableDisableMyControls(FALSE) End if

Member Avatar for Dzulham
0
134
Member Avatar for consc197

Have you set up the TblNotesTableAdapter with the necessary Access SQL command and connection etc? I would run in debug but before you go into the `For each Note` loop I'd check that `PsychologicalStateTrackerDataSet.tblNotes.Rows.Count > 0` i.e. you have data. Also what have you defined `Note` as? Looking at the …

Member Avatar for G_Waddell
0
155
Member Avatar for gujinni

I've never worked with the Windows Music player before so here is a high level view of what I would do. You will need to store the tracks listing either in a file or database unless you can access directly from the player. Take a count of the track you …

Member Avatar for G_Waddell
0
170
Member Avatar for HunainHafeez

Do you really need it to be all entered in one go? It would be a lot easier to enter course by course... I would put the education levels into a dropdown list that the user select and the rest in text boxes that the user fills in. You would …

Member Avatar for HunainHafeez
0
194
Member Avatar for icedome

The easiest way I can think of is to record each time a user enters a new page that way previous page entry - new page entry = time on page. The problem is though what if they stay on a single page then leave your site? You also wont …

Member Avatar for G_Waddell
0
221
Member Avatar for opman234

[how to make a trial version](http://www.daniweb.com/software-development/vbnet/threads/433040/how-to-make-a-trial-version) Is this a duplicate posting?

Member Avatar for G_Waddell
0
221
Member Avatar for Mindazz

The code given is looping through the listview Items and seeing if the sub item at index 3 ( which is column 4,) has the text that was entered in the textbox.

Member Avatar for G_Waddell
0
4K
Member Avatar for Gus_19

You want to know when someone pressed caps lock in the rich textbox? Or just when caps lock is on and the rich textbox gets focus? To see what some pressed while in the rich textbox you should use the KeyDown or KeyPress events of the rich text box and …

Member Avatar for G_Waddell
0
287
Member Avatar for tman55588

I haven't encountered this on 2010 but I have encountered similar on earlier versions - it used to occur when the version of the .NET Framework you were using had a newer service pack that the one Visual studio was trying to install e.g. 3.5 verses 3.5 sp1. It'd get …

Member Avatar for G_Waddell
0
166
Member Avatar for Mike Bishop

Hi, When exactly did this start happening? I see you are using an object Bentalls? Could this have been corrupted?

Member Avatar for M.Waqas Aslam
-1
153
Member Avatar for gvgv

Hi, What you are really asking is how to read POP3 emails through .NET. You would just pass in the Gmail account details to access (you should be able to get this information from Google as people configure Email apps like Outlook to do this all the time.) I found …

Member Avatar for G_Waddell
0
42
Member Avatar for G_Waddell

Hi All, Ever tried to make a change to a SQL database table only to get a message telling you it is unable to carry out the change as it would have to drop and recreate the table? This is one of these things that you encounter once, correct and …

Member Avatar for JorgeM
1
222
Member Avatar for HibaPro

What selection mode is your datagrid using? If it is rowselect I think you will have use **SelectedRows** instead of **CurrentRow**, CurrentRow gets the row of the current selected cell but if you are using the rowselect mode you have not selected a cell but a row and so you …

Member Avatar for G_Waddell
0
219
Member Avatar for johncatman

Are you developing in ASP .net? Why not use a label or link label and handle the click event in your code postback?

Member Avatar for G_Waddell
0
252
Member Avatar for franzrivas

Yes. Use visual studio. Under file you should see a create new project option, depending on which version you are using, (and if you installed the Visual basic option when you installed visual studio,) you should see a Visual Basic language option. Select /expand this and you will see a …

Member Avatar for G_Waddell
0
294
Member Avatar for androidz

Well On your config file you have a connection string called **Myconname** Your function, **GetConnectionString** appears to take in the **Name** of the connection and look for it in your app config file.. Think about the code you are using - **What is the String** that you are passing in …

Member Avatar for androidz
0
287
Member Avatar for az_ez

Your Select command does not bring back any primary key / identifer so the update does not know what record to update...

Member Avatar for az_ez
0
265
Member Avatar for l.pavel

Can you show the code where ReportProgress event is fired? Is your it being called by your classes? Are your Classes in the form/module/Class that the sub is in? You have declared the sub to be Private that means it can only be called by Routines in the same module/class/form …

Member Avatar for l.pavel
0
116
Member Avatar for LD Company

You need to specify the Delete command for your DataAdapter - you can do this inside your delete button or when you set it up. Another option is to run a SQL command with a delete statement. Your DataAdapter does not magically know how to delete data from the database.

Member Avatar for Dili1234
0
429
Member Avatar for chotep

Basically, put a break point on the line where your SQL string is populated, go into debug mode - it will stop at the breakpoint, add a watch to the SQL string, copy the value for the SQL string out and paste on to the forum.

Member Avatar for G_Waddell
0
114
Member Avatar for ann.arceo.14

Quick suggestion by default, if you place a date value with no time part midnight ie. 00:00:00 is assumed to be the time part. So if I'm doing a date compare like that, I add the time value "23:59:59" to my end date to ensure I catch any dates. Also, …

Member Avatar for saphiro
0
171
Member Avatar for sanket044

No sure what you are trying to do, do you what a result that lists each first name then each second name used by the first name then each last name used by the combination of both or do you just want a list of distinct Firstnames, Middlenames, lastnames in …

Member Avatar for M.Waqas Aslam
0
136
Member Avatar for hypernova

Hmmm... Tricky to answer with out a crystal ball! How long will your Masters course last? Who can predict what the big growth sectors will be? Remember the .Com bubble and burst? I'd say go what interests you first - If you are interested in it you will become good …

Member Avatar for danieljacob344
0
327
Member Avatar for opman234

> connectionstrings.com What string are you using? The default? I think though it may be a language/ locale issue as it is talking about the format of the string..

Member Avatar for gusano79
0
99
Member Avatar for ashwani_pandita

Depends if you are more comfortable with Databases or Interop. Alternatively, you could output as .csv easily enough just using the System.IO and Streamwriter....

Member Avatar for G_Waddell
0
40
Member Avatar for themaj

Hi Once you have a dataset object you do not need to connect to anything. But you have to fill it first e.g. Dim DS As New DataSet Dim cmd As New SqlCommand Dim DA As SqlDataAdapter 'Assume you have set up a Sql connection MyConnection and a SQL Query …

Member Avatar for themaj
0
2K
Member Avatar for Sneaky Pete

When doing the maths part convert the input text to type double: Sub Addition() dim Answer as Double If IsNumeric(input1.text) AndAlso Isnumeric(input2.text) then Answer = cDbl(input1.text) + cDbl(input2.Text) Output.Text = Answer Else Output.Text ="ERROR NON NUMERIC ENTRY" END IF End Sub Or else when faced with "250" + "7.5" the …

Member Avatar for Sneaky Pete
0
238
Member Avatar for G_Waddell

Hi, I've written a routine for a customer to import sales orders into their Sage system. Everything was going well but the client has come back with a particular excel sheet that is not importing. He is getting a message to tell him the sheet is not in a valid …

Member Avatar for G_Waddell
0
534
Member Avatar for Mobyguy77

Hmmm... First thing is I'd say this could be done a number of in different ways, really depends on what you are most comfortable with XML / XSLT or Parsing text etc. Either way, I would make each of "Tags" unique to the piece of data you are applying. The …

Member Avatar for G_Waddell
0
123
Member Avatar for AnkitGuru

Hi, I haven't done this for a few years but I'm fairly sure there is a `Worksheets.ActiveSheet` method or `.ActiveSheets(index)` or something like it..

Member Avatar for G_Waddell
0
1K
Member Avatar for rutuja8

Hi, I have no idea what level of expertise you have. But, looking at your message I'm going to guess you are just starting out. (If not, I apologise for stating the obvious). You need to create a connectionstring and use ADO.Net to pull the data back from the database …

Member Avatar for G_Waddell
0
171
Member Avatar for opman234

[Connectionstrings.com](http://www.connectionstrings.com) should give you the connection string format. You would use the name of the server on the domain (not necessarily same as website URL) - if you are getting a hosted solution then the host company should help you with these details. E.g. say I host my site at …

Member Avatar for G_Waddell
0
167
Member Avatar for darthswift00

I think it is because you are usng a sqladapter and then checking for tables - you are getting a table back but does it actually contain data? Or is it empty? I would use a SqlCommand object and run executescalar on it. Something like: dim sSQL as string ="SELECT …

Member Avatar for darthswift00
0
863
Member Avatar for Hani1991

> Does any other religion retain its membership by threatening to kill anyone who leaves? Well the Christian Church did, Spanish Inquistion, Crusades, Burning of "Heratics" etc. ANY reglion can and IS frequently subverted to suit the political ends of those in power or who wish to gain power.

Member Avatar for Reverend Jim
-5
1K
Member Avatar for opman234
Member Avatar for Bile
Member Avatar for HydroPlume

So you want to have 50 checkboxes, one for each U.S. state and track who has been in what state. All a checkbox will tell you is if or not it is checked. not who did or didn't check it. Are you keeping a Dll file to hold who has …

Member Avatar for HydroPlume
0
268
Member Avatar for HibaPro

You would probably have to search the file system for the file, which is not a good idea as it could take ages. Why don't you include the report in your project and get it to install a copy with it that way you will know where it is. If …

Member Avatar for G_Waddell
0
141
Member Avatar for rokokmalboro

> I don't know why people still use Visual Studio 2008. Lots of reasons: For example, I work in a company the customises Sage Software, at the moment there is no need for us to upgrade to 2010 or 2012 as the Sage software is written on .NET 3.5 - …

Member Avatar for G_Waddell
0
204
Member Avatar for ashking

What part are you having a problem with reading the database? Or populating the listbox control? Post what code you have so far, where does it fall over?

Member Avatar for ashking
0
241
Member Avatar for Stuugie
Member Avatar for Mike Askew
0
470
Member Avatar for iFrolox

Hmmm... Never used these before but when you debug me.TimePlayer1 what do you get? Is it the full date and time value or just a time value? I suspect it is passing just a time value and substituting the current date hence you are stuck in a 24 hour period.

Member Avatar for iFrolox
0
344
Member Avatar for Netcode

You should be able to upload binary files to sqlserver - one of the binary field types such as image should let you. Should also be examples on this dotted about the net - you may have to open the file the reader generates as a bit stream and then …

Member Avatar for G_Waddell
0
265
Member Avatar for themaj

I think Visual Studio 2010 uses .Net 4.0 by default, I've never used Studio express but on the full version, Under project the properties properties page there should be an area to tell you what version of the framework you are designing for. Also, in the full version you can …

Member Avatar for M.Waqas Aslam
0
314
Member Avatar for reds8

I suggest asking the lecturer how he wishes you to supply it. Anaother alternative is to make all links relative and create a deployment project and deploy to the CD. I take it you have a database? If it is Access include it in the project output and make your …

Member Avatar for hericles
0
429
Member Avatar for alexandra.lopez.94043

Hi I take it `txt16.Text` actually contains text just I can't see it being populated. Also you appear to want the results in a table, why not use a dialog form instead? You could remove its cancel button and use a datagrid to display the text you need - it …

Member Avatar for Reverend Jim
0
210
Member Avatar for skran

Date formatting issues can be a real pain... if your database and computer have different date formats it can lead to all kinds of interesting stuff, dd/mm/yyyy vs mm/dd/yyyy even then you can still get different interpretations I always try to format any date or date time value into a …

Member Avatar for G_Waddell
0
558
Member Avatar for rhm532005

You could specify and update command for your Dataset like this [Updating Database with a DataAdapter](http://msdn.microsoft.com/en-us/library/33y2221y(v=vs.71).aspx) OR something like this: dim cmd as new OLEDBCommand With cmd .connection = myconnection .CommandType = CommandType.Text .Text = "MyUpdate Query" end With cmd.ExecuteNonQuery

Member Avatar for M.Waqas Aslam
0
97
Member Avatar for m.tompkinsnz

Hi you're on the right path but the syntax for INSERT is different instead of `ColumnName = Value` you do it like this: INSERT INTO TableName(Column1,Column2) VALUES (@Column1, @Column2)

Member Avatar for M.Waqas Aslam
0
273
Member Avatar for Ctechnology24

You'd need to know how **exactly** the php method encrypts the password. It's like asking someone to translate from English to Manderin Chinese unless you can speak both fluently and know the grammatical rules etc. then you've no chance. I suspect that the **exact** method used by the PHP is …

Member Avatar for G_Waddell
0
146

The End.