181 Posted Topics

Member Avatar for SaRa Ahmad

> when the user check the Civil check box the serial start from 1, when the user check on mechanical the serial should reset to 1 and continue, actually i can't differentiate both line separated by , please make your statement more clear so we can identify the exact problem.

Member Avatar for SaRa Ahmad
0
157
Member Avatar for valter.schmaltz

please make your question more clear and also don't forget to put your efforts.

Member Avatar for rishif2
0
67
Member Avatar for jemartalaban_1

you just need the following Dim p As VB.Printer For Each p In VB.Printers If p.DeviceName = "EPSON" Then Set Printer = p End If Next i hope that you can use the above code according to your suitability.one more thing that may help you is that use of commondialog …

Member Avatar for rishif2
0
6K
Member Avatar for rohit.jajoo.3

> Need a project on mobile apps in vb 6.0 as desktop application what kind of mobile apps. if you need a project then move to some project websites or create it . while creating a project if you face any kind of problem then first try to solve it …

Member Avatar for rishif2
0
263
Member Avatar for baabjitvk

@Klahr_R Never Forget to increment the value of `X`. in you case it will always return the same character because start position is not incremented. so don't forget to put `X=X+1` after `mid$(achr, X, 1)` @baabjitvk try this Dim str As String Dim i As Integer i = 1 str …

Member Avatar for rishif2
0
202
Member Avatar for zain_1
Member Avatar for abdu_1

> first = Val(txtFirst_Number.Text) > second = Val(txtSecond_Number.Text) where did you declare these variables ? so the replace the code with the following :- First_Number = Val(txtFirst_Number.Text) Second_Number = Val(txtSecond_Number.Text) this will solve the problem

Member Avatar for rishif2
0
76
Member Avatar for roeljaime

you seem to be newbie here , so if you are not familiar with daniweb's rules then i will highly recommend you to see rules before posting a question. while a posting a question , you should also put your efforts so other user here can help as they are …

Member Avatar for rishif2
0
99
Member Avatar for EXTRA_RICE

try this `Datagrid1.DataSource = Nothing` and also try this `Datagrid1.Clear` hope this helps you . . .

Member Avatar for EXTRA_RICE
0
328
Member Avatar for LeNenne

> Which answer helped you most? Now i realise that we didn't understand there the real problem what OP wants to share. As OP also soved the thread so we can't give time to solved thread as you know more question are there and waiting for appropriate answer. we confused …

Member Avatar for rishif2
0
187
Member Avatar for SaRa Ahmad

there may be two reasons mostly : 1.there may not be `Adobe Reader` installed in the target system or they are using different version. 2.path may be different and i hope that you entered the correct path so its make sure that above 2 resons are there in your application …

Member Avatar for Klahr_R
0
183
Member Avatar for vividiah
Member Avatar for vividiah
0
233
Member Avatar for <M/>

welcome back without you , there was quiet silence in `Geeks' Lounge` Forum , but now i hope there will be more activity , more threads and more replies as well. once again i personally welcome you . . .

Member Avatar for <M/>
0
305
Member Avatar for EXTRA_RICE

ok you can do that using lostfocus() Private Sub Text2_LostFocus() Text3.Text = Val(Text1.Text) + Val(Text2.Text) End Sub when you lost focus from textbox2 then it will fire code written inside lostfocus() hope this helps you . . .

Member Avatar for rishif2
0
143
Member Avatar for SaRa Ahmad

yes , Klahr_R posted correct you need to use `"C:\" & Textfield.Text & ".pdf"` instead of ` "C:\textfield.text.pdf"` if you're using `textfield.text.pdf` , then will check for the file named `textfield.txt` and having extention `.pdf` so use this `"C:\" & Textfield.Text & ".pdf"` for desired output. atlast also make sure …

Member Avatar for SaRa Ahmad
0
2K
Member Avatar for baabjitvk

probably you are working with database application (with join) and if your code belongs to vb.net then don't forget to post new thread to related place.

Member Avatar for rishif2
0
374
Member Avatar for vyalineconstantino

> And how can I round off the results? I mean, if it shows 4.5 it would display 5 and if it's 4.5 it would display 4? Please help me. ceil() and floor() functions will result in what you want. lets see the example :- `cout<<floor(4.5);` it will round down …

Member Avatar for ddanbe
0
306
Member Avatar for SaRa Ahmad

have a look at [this](http://www.devx.com/tips/Tip/14246) > preview these file using image box in vb6 if can ???? for this , first you must conver the pdf page to an image file.(and for converting , you need some APIs).

Member Avatar for SaRa Ahmad
0
216
Member Avatar for eshajoshi

> > The error points to line 55. here make sure that your form contains Text2(0) control array other wise replace your line 55 with the following code:- `.Fields("Quantity") = Text2.Text` one more thing , i dont see that in which `sub`(Procedure) you working and where it starts hope this …

Member Avatar for eshajoshi
0
229
Member Avatar for julzpot
Member Avatar for victormesso

what code do you have so far ? if you don't have the code then i suggest you to go through some visual basic database tutorials otherwise post you code here and we will try to solve out the issue.

Member Avatar for rishif2
0
86
Member Avatar for eshajoshi
Member Avatar for nachiketh

did you added the following to your code:- `MSFlexGrid1.Rows = MSFlexGrid1.Rows + 1` `MSFlexGrid1.TextMatrix(MSFlexGrid1.Rows - 1, 0) = Text1.Text` `MSFlexGrid1.TextMatrix(MSFlexGrid1.Rows - 1, 0) = Combo1.Text` hope this helps you to solve the issue.

Member Avatar for rishif2
0
195
Member Avatar for Mark Alonzo16
Member Avatar for RonalBertogi
0
108
Member Avatar for LeNenne

first off , a few things from LeNenne if you wanna show picture for the related month then why are you using loop to do that (No need to have loop here). one more thing > if myday = myday it will always be true.so why are you using if …

Member Avatar for Klahr_R
0
141
Member Avatar for LeNenne

visual basic 6.0 's standard progress bars are incapable to perform this task. And so you can't set its direction from right to left. you will need some 3rd party controls to do that otherwise its not possible in visual basic 6.0 , however you can change its orientation and …

Member Avatar for LeNenne
0
1K
Member Avatar for merilrosbern.ervoli
Member Avatar for weblord
Member Avatar for stultuske
0
204
Member Avatar for LeNenne

> > Some other suggestion please you can insert the date into db and then compare this date everytime when an application runs.

Member Avatar for bonzo2008
0
200
Member Avatar for jemartalaban_1

it seems that you're trying to build sql query on the basis of textbox values try following:- `"select * from " & AniKindtxt.Text & " where AniTypes='" & AniTypestxt.Text & "'"` one more thing about what you write in you thread:- `AnimalRS.Open ("select * from & AniKindtxt.text & where AniTypes='" …

Member Avatar for rishif2
0
126
Member Avatar for kinene tallman

the most important advantage of ado over dao is that ADO supports a lot database engines like Access , sql server , mysql and so on whereas dao supports limited Database engine and works best with Access Database only. one more advantage of ado over dao is that ADO is …

Member Avatar for rishif2
0
244
Member Avatar for masakii
Member Avatar for rishif2
0
4K
Member Avatar for newbie26

checkboxes are added to first column and i dont know the exact way which can add checkboxes to other column > programmatically move the first column (with checkbox) to > the third/last column.. yes , you can do that by using the following :- `ListView1.ColumnHeaders(1).Position = 3` the above statement …

Member Avatar for newbie26
0
263
Member Avatar for kumar_g

"you must have an key to encrypt or decrypt it. You can also use that particular software from which encryption has made. otherwise its very hard to decrypt it" i think so.

Member Avatar for GeekPlease
0
161
Member Avatar for jemartalaban_1

you'll need to use `if` statements on the click event put the following code:- Private Sub Combo1_Click(Index As Integer) If Index = 1 Then MsgBox "your age" Else If Index = 2 Then MsgBox "you name" Else If Index = 3 Then MsgBox "you address" Else MsgBox "soemthing other" End …

Member Avatar for rishif2
0
182
Member Avatar for johans22

use `Line Input #` instead of `Input #` if you wanna read an entire line . `input #` reads line upto `,` . hope this helps you . . .

Member Avatar for rishif2
0
140
Member Avatar for rishif2

when we start microsoft window calculator and switch to programmer mode(for number system like:-binary,octal,decimal,hexadecimal) then found that we cannot use dot(.) for floating point number but in fact number systems may have dot(.) (like 110101.1010). is this a bug in microsoft calculator or there is something other reason or there …

Member Avatar for xrjf
0
138
Member Avatar for raizuke.blademaster

i think that storing images to the database would not be the right way because it will require more size for your DB and it will finally result in slow processing. so you should store only filename not an image file and for this , make proper use of function …

Member Avatar for ROBBOHORT
0
213
Member Avatar for LeNenne

try this :- Private Sub Command1_Click() For i = 0 To List1.ListCount - 1 If List1.Selected(i) = True Then Text1.Text = Text1.Text + List1.List(i) + "; " End If Next End Sub before performing this task you have to set the `MultiSelect` property with the value `2Extended` hope this helps …

Member Avatar for LeNenne
0
127
Member Avatar for dossm

lets have a look at following :- Dim Time1 As Date Dim Time2 As Date Time1 = Format(Text1.Text, "hh:nn:ss") Time2 = Format(Text2.Text, "hh:nn:ss") MsgBox Format(Time1 - Time2, "hh:nn:ss") MsgBox Format(Time1 + Time2, "hh:nn:ss") > i want the result is same format. yes it will result in same format hope this …

Member Avatar for rishif2
0
97
Member Avatar for LeNenne

i really dont understand the exact problem but if you wanna display names of the those candidate who are having emails then try this :- rs.Open "select Name,email from email_table ", conn, 2, 3 While (rs.EOF = False) If (rs!Email <> "") Then LstData3.AddItem rs!Name End If rs.MoveNext Wend it …

Member Avatar for Jx_Man
0
146
Member Avatar for uzziel
Member Avatar for LeNenne

i assume that `cmdquit` is something event procedure > > If I press the X button on titel bar then > I will it goes to cmdquit when you click on the close button , it will execute the code written inside `Unload()`. > The tests I haave done just …

Member Avatar for rishif2
0
444
Member Avatar for soche123

it will be very easy to answer this question , if you post you code here. just receive input and check whether user wanna continue or not (i think `if` will help you). if the input is for yes then continue i.e. call the function `main();` try this:- ch=getch(); if(ch=='y') …

Member Avatar for new_developer
0
235
Member Avatar for soche123

you can use of character in case value . look here:- case '+': { sum = num1 + num2; cout<<num1 <<" + " <<num2 <<" = " <<sum <<endl; } break; case '-': { sum = num1 - num2; cout<<num1 <<" - " <<num2 <<" = " <<sum <<endl; } …

Member Avatar for rishif2
0
3K
Member Avatar for matthewdiet

your question seems to belong vb.net and it is not vb.net place so post your question to related place and then we will try to solve the issue

Member Avatar for Reverend Jim
0
215
Member Avatar for newbie26

you task can be done with `DatePart` function `MsgBox DatePart("ww", DTPicker1.Value)` hope this helps you . . .

Member Avatar for rishif2
0
111
Member Avatar for jony_munsi

here string is using to store ID string str; str = Console.ReadLine(); Console.Write("year is=20"); for (int i = 0; i < 2; i++) Console.Write(str[i]); Console.WriteLine("semester is=" + str[2]); Console.WriteLine("Branch is=" + str[3]); Console.Write("serial is="); for (int i = 4; i < str.Length; i++) Console.Write(str[i]); Console.ReadKey(); hope this helps you to …

Member Avatar for tinstaafl
0
150
Member Avatar for rohit.dudhbhate
Member Avatar for vinitatiska

you can do this with the help of `Rollback` Method Try This:- Conn.RollbackTrans hope this helps you . . .

Member Avatar for rishif2
0
377

The End.