2,155 Posted Topics

Member Avatar for chris_58

Are you using SQL or MySql? Both haev different usages to get the last id inserted into a table, which is the easiest and fastest way to go. Just get the last from a swl statement and add it to your textbox.

Member Avatar for AndreRet
0
297
Member Avatar for Rushabh Verma

You can get all of the functions on the Microsoft page - [Click Here](https://docs.microsoft.com/en-us/dotnet/api/android.bluetooth.bluetoothdevice?view=xamarin-android-sdk-9) This should get you going.

Member Avatar for AndreRet
0
187
Member Avatar for rproffitt

I cannot agree more. Ultimately it is our responsability as developers to see that we secure all and any sensitive data that our applications deal with at the moment such data is received. I think the problem is as pointed out, you have been taught that 1 + 1 = …

Member Avatar for AndreRet
3
3K
Member Avatar for Violet_82

I must agree, many changes around if you have not been here for a while. I have not been here for around 5 years or so (returned a few times to find a different look). I remember I tried to login once and a new login system was in place …

Member Avatar for Dani
0
2K
Member Avatar for wilsonchama

The message "Object not set to instance of Object" means that you are trying to use an object which has not been initialized. That is, you either set it to null, or you never set it to anything at all. The runtime throwing a NullReferenceException always means the same thing: …

Member Avatar for AndreRet
0
447
Member Avatar for Nicksonjohn

I agree with rproffitt, you need to first think what it is that your business/website offer to people and base all your research on those criteria. Search for the top 10 sites related to your industry and see what they are doing. Decide if this will fit into your profile …

Member Avatar for AndreRet
0
341
Member Avatar for ashvyas

I went through your app (nice). I do however not see where you want to use the reader. Is it to load new books, students, not sure? Let me know, I'll help where possible.

Member Avatar for Ammar_10
0
1K
Member Avatar for jaai

You need to use the Combobox.Listindex property to determine which customer was selected - [CODE]'After opening your recordset and connection UNDER your combo click event, the following... Dim xIndex As Integer xIndex = Combo1.ListIndex rs.AbsolutePosition = xIndex 'This will move to the correct recordset Text1.Text = rs!YourFieldNameHere 'Text is added, …

Member Avatar for santhanakrishnan
1
795
Member Avatar for mikeybware

This is a VB.NET question. I have asked the mods to move it there. As far as your question goes, try the following - [CODE]NotifyCon.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\192.168.0.125\MIKE-PC\SharingMike\Settings.accdb;Driver={Microsoft Access Driver (*.mdb, *.accdb};Persist Security Info=False" 'Add the IP address of the server...[/CODE]

Member Avatar for xrjf
0
3K
Member Avatar for tin1296

Use the following - [CODE]Private Sub Command1_Click() Dim con As ADODB.Connection Set con = New ADODB.Connection Dim rsSearch As ADODB.Recordset Set rsSearch = New ADODB.Recordset con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\MyDatabaseName.MDB;Persist Security Info=False" rsSearch.Open "SELECT * FROM MyTableName WHERE MyField LIKE " & "'" & Text1.Text & "'", con, …

Member Avatar for Jonathan_18
-1
3K
Member Avatar for Jay_22

I would suggest drawing to a bitmap object, in the order required, then setting the picture box's image to that, something like this: Private Sub draw() Dim newBM As Bitmap 'the "canvas" to draw on Dim imgBG As Bitmap 'the background image Dim imgChar As Bitmap 'the character image imgBG …

Member Avatar for Xavier_5
0
1K
Member Avatar for AndreRet

Hi to all the old familiar faces, have not been here for a while... I have read up on tons of samples and answers (and even more on how cryptography works) but none answers my scenario. I am creating a new user from desktop app in VB.Net. User need to …

Member Avatar for AndreRet
0
575
Member Avatar for ArielSerrano

I think your error is generated because you are trying to change an Integer value into a string - [CODE]Sub UpdateAttrib(TagNumber As Integer, BTextString As String) 'And then - Tatts(TagNumber).TextString = BTextString[/CODE] If BTextstring is NOT a number you will most definitely get an error. Also as vb5 said, you …

Member Avatar for mohammad.islam
0
1K
Member Avatar for choeychoco

Try the following - Driver={MySQL ODBC 3.51 Driver};Database=NAME_OF_MY_DATABASE;Server=\\10.0.0.111 (the server ip address)\thepcnamehere; Port=3306;Option=13; Add username and password if it is required...

Member Avatar for choeychoco
0
3K
Member Avatar for anisha.silva

As usual, tinstaafl is spot on. Here are a few more samples... To Search a List with a Constant, Known Number of Rows This code moves down column A to the end of the list: Sub Test1() Dim x As Integer ' Set numrows = number of rows of data. …

Member Avatar for tinstaafl
0
14K
Member Avatar for Jollyyy100

You need to have a few pictures, put them in a loop load under a timer event, and you will have a slide show.:)

Member Avatar for Supermike
0
2K
Member Avatar for JLynn

I'm not exactly sure, but it looks like the error is generated at the following - [CODE]Set Count = Set_Listbox.ListCount 'Try to do the following Set Count AS New Set_Listbox.ListCount 'or if that also generates an error, the following Set Count AS Set_Listbox.ListCount[/CODE] I'm not sure if this will help, …

Member Avatar for José Luís
0
1K
Member Avatar for Rakham

You will need to declare a new instance of the Audiogenie dll first - Set MyAudioGenie As New AudioGenie Now call the result from your code above...

Member Avatar for Glyn_1
0
892
Member Avatar for AndreRet

Hi All, Back after a LONG break from Daniweb, love the new look! I have the following data scanned from a pdf417 and need to extract certain text to certain text fields, not sure how to go about this... Data scanned with manatee works plugin and android app using android …

Member Avatar for AndreRet
0
283
Member Avatar for Reo_1

The easiest way out here is to use an object to do all the work and then show the results at the end. What I mean by this is to use public denominators to hold and calculate your results - Public xScore as Integer Private sub btnNEXTQ1_click(Byval sender as system.object, …

Member Avatar for AndreRet
0
528
Member Avatar for opspl_programme

Firstly, you have hijacked a 6 YEAR!! old thread. :) You need to start your own NEW thread. Your page will "eject" because you have used the .EndDoc line. That tells the printer that you are done printing. You need to add all your code for viewable print and then …

Member Avatar for AndreRet
0
4K
Member Avatar for jaai
Member Avatar for Jambaly

You can use the following then. Dim x As Integer ''Will hold the amount, must be only in numbers, otherwise use x as string... ''Do the calculation BEFORE you add the next amount to your textbox. If you were using a listbox, it would have been much easier... x = …

Member Avatar for Vicky_4
0
4K
Member Avatar for foehner

Please show thye sample code, especially te part where you need the transparency. Also include your api references - BitBlt etc..

Member Avatar for kvito2003
0
993
Member Avatar for meLiel

First of all, if you will be searching your database with a LIKE statement as you are doing now, you will have a lot of returned records... The LIKE statement works fine when you serach by names or strings etc. Id's is normally a set returned value. So, I will …

Member Avatar for Reverend Jim
0
12K
Member Avatar for vegaseat

Well I suppose that candy is the in thing until chocalate is more available than now. Funny how one never think of where stuff actually comes from, until there is a shortage.

Member Avatar for vegaseat
11
9K
Member Avatar for AndreRet

**Modifications Required for VB6 Applications to Work on Vista/7** Thanks to Hassan Basri in VBForums **Application Changes** - Remove SendKeys calls and replace them with API code. - Use the HKEY_CURRENT_USER in the registry for the settings of your application. - Do not write to HKEY_LOCAL_MACHINE. - If you are …

Member Avatar for hefaz
2
5K
Member Avatar for rubberman

Welcome to Daniweb Rubberman.:) I read the book twice, loved it!!! Saw the movie, it was crap!.:)

Member Avatar for rubberman
0
339
Member Avatar for mike@itzoom
Member Avatar for reyarita

[QUOTE]if one student will enroll in one section (section galatia)den if the staff will click save button den if its done. then another student will enroll den another section (section israel) will be use. [/QUOTE] Ok, I will try and figure this out with your help please. What exactly is …

Member Avatar for Vers20
0
871
Member Avatar for itexamstube

Most definitely php. vb.net will be for desktop development. It all depends on what you want your web site to do, for data interaction, php is perfect, just some pages with script, normal html will fine as well.

Member Avatar for rubberman
0
487
Member Avatar for frnds2vivek

As gusano mentioned, the object was not registered properly. Find out what active x it is, copy it to your windows system32 folder (win SysWOW folder in win7), click on run from youir start menu, type in regsvr32 and the active x name and click on ok. If using win …

Member Avatar for OrionBlastar
0
8K
Member Avatar for Jollyyy100

You guys need to search a bit more please.:) Have a look at [URL="http://www.daniweb.com/forums/thread343880.html"]This[/URL] link that was discussed at the same time as your first post today. The basics is all there.

Member Avatar for millyn
2
3K
Member Avatar for fourty

Guys, we do not use "" in proper coding, but vbNullString as in - [CODE]txtBoxName.Text = vbNullString[/CODE] to clear all textboxes use - [CODE]Public Sub ClearAllText(ByVal frm As Form) Dim ctl As Control For Each ctl In frm If TypeOf ctl Is TextBox Then ctl.Text = vbNullString End If Next …

Member Avatar for musthu
0
4K
Member Avatar for ponnu

Make use of a loop... Dim xRecords As Integer rs.MoveFirst 'change rs to whatever you have named your recordset selector For xRecords = 1 To rs.RecordCount ''Do with this record returned what you need to... rs.MoveNext Next xRecords

Member Avatar for hannah_2
0
2K
Member Avatar for tin1296

I personally prefer the use of ADO. It gives you so much more control over queries than a data control. Reference MS Active X data objects 2.x under references. The code will be - [CODE]Private Sub Command1_Click() Dim con As ADODB.Connection Set con = New ADODB.Connection Dim rsSearch As ADODB.Recordset …

Member Avatar for Pranav b
0
200
Member Avatar for iAssistant

Luckily I live in the most moderate of weather countries in the world - Cape Town, South Africa. We do not have Blizzards, typhoons, Hurricanes - we just have winter, spring, summer and autumn.

Member Avatar for Stuugie
0
4K
Member Avatar for jhai_salvador
Member Avatar for i8kmon

This is the problem on using 3rd party controls.:) Have a look at the following attachment, which is much easier to use. You do however need to register the control on your system first for it to work. Copy the ocx file, paste it in your system 32 folder. Use …

Member Avatar for Jose_9
0
2K
Member Avatar for zinnqu
Member Avatar for marluke

You will add it to a module (.bas) Please open your own thread, we will help from there. This thread is 4 years old.

Member Avatar for Mark_Jones
0
6K
Member Avatar for zebnoon

How ar you zeb? I am only back in a blib of a second, lol Your answer is quite easy, if all the popsters read it properly - You need to create a "next" record from the last record as per your question - Auto Generate Slip No? All you …

Member Avatar for rasheedraj
0
1K
Member Avatar for debasisdas

[CODE]"In all things perserverance is the key. Dripping water hollows out a rock not by the force of its action, but by its constancy." By Thandi[/CODE]

Member Avatar for James_28
8
17K
Member Avatar for Shodow

What database are you using, msaccess, sql, mysql? What connection are you using, data control or ADO?

Member Avatar for hina_7
0
3K
Member Avatar for silversurf
Member Avatar for jib
Member Avatar for Doctor Inferno
Member Avatar for SgtMe
Member Avatar for silversurf

Ok, lets see if I can get my head around this.... :) You have 2 tables - tblsales, tblstock a call has to be made to tblstock to see how much of a unit is available. if available, sell the unit and update tblsales... get price from tblstock, how many …

Member Avatar for Stephene_1
1
664
Member Avatar for styleest

@styleest, have a look at a thread I have posted a few months ago [URL="http://www.daniweb.com/code/snippet313435.html"]HERE[/URL]. It covers most of the problems with comaptibality in XP, Vista and Win 7. Happy coding.:) Please mark this thread as solved for us, thanks.:)

Member Avatar for hares
0
1K

The End.