Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
80% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
2 Endorsements
Ranked #621
Ranked #2K
~25.9K People Reached
Interests
Gaming, Programming
PC Specs
Win 7, i 7 Processor, 8 GB RAM
Favorite Tags

52 Posted Topics

Member Avatar for frnds2vivek

Some problem loading your form. Try opening the form (frmName.frm) in notepad and delete the picture box declaration. You can do this by "Find". Now try to open it in VB6 IDE. Make sure you have a copy of the form as Backup before doing this.

Member Avatar for ma14
0
3K
Member Avatar for harsh01ajmera

Ill go with Mitja Bonca. Don't open your Home Screen on Login form's button click event. Make the login form to return the login status and check, do appropriate actions(whether to open the home screen or to give user an error message) in the Main function. that's what Bonca's code …

Member Avatar for Varun_9
0
3K
Member Avatar for Amr_Mohammad_R

There are so many bio metric devices available. It is better to ask the manufacturer for the APK that could be incorporated into your code.

Member Avatar for Bhuvan_1
0
127
Member Avatar for theashman88

Are you missing any part of the codes....? Or any typo error in your code that the pasted sample doesn't have?

Member Avatar for samsylvestertty
0
482
Member Avatar for androidz
Member Avatar for Saleem_1
1
384
Member Avatar for samsylvestertty

Hi, I have developed an ASP site. I have a function to check the session's validity. I check whether the ReferrerURL is null and redirect to a session expired page if it is null. It works fine for all pages. But after a file download ( using the response.TransmitFile ) …

Member Avatar for LastMitch
0
224
Member Avatar for JesGo
Member Avatar for ddanbe
0
131
Member Avatar for mferarri
Member Avatar for ComputerFirstAde

What database are you using? MS Access? If "MS Access" where have you kept it....? Place it in a shared path and remove the read only attribute.

Member Avatar for ComputerFirstAde
0
168
Member Avatar for Poody

Try the following code by pasting it in the Class. include System.Windows.Forms in class file public void InsertLabel(MainForm form) { Label labelControl = new Label(); //Set the text labelControl.Text = "New Label"; //Set the location of the label labelControl.Top = 100; labelControl.Left = 100; labelControl.Visible = true; form.Controls.Add(labelControl); } Use …

Member Avatar for samsylvestertty
0
168
Member Avatar for Asper

Are you trying to 1. open an installed browser with your URL? or 2. create a C# application with a browser embedded that would open the URL when loaded? If you are trying point 1, the following code would help System.Diagnostics.Process.Start("Your Web URL here"); System.Diagnostics.Process.Start("Your Web URL here"); And for …

Member Avatar for tinstaafl
0
176
Member Avatar for diya45

Disable all your buttons and show the login form again. Its almost like restarting your application. Starting your application with new user credentials.

Member Avatar for sumantnit
0
114
Member Avatar for maria.susai.7

Its like accessing databases. Just a different connection string. Check [this](http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/51162/reading-excel-data-using-vb-6.0). In excel each sheet is considered as table.

Member Avatar for samsylvestertty
0
1K
Member Avatar for diya45

How you say that the record is deleted? can you pls post the SELECT procedure too?

Member Avatar for samsylvestertty
0
177
Member Avatar for diya45

Possibilities for the errors lie in the following lines 35, 37, 38, 39 The Convert.ToInt32 can convert strings like "1", "2" etc. It throws an exception if you try to convert a string like "two", "three", "happy" or even an empty string "" Likewise the Convert.ToDateTime can only convert strings …

Member Avatar for samsylvestertty
0
110
Member Avatar for diya45

private void Add_Click(object sender, EventArgs e) { dt = room.displaydata(); //Get the datatable from the Database //Filter the datatable to check whether the room is already booked //An existence in the data table means the specific room is booked //I assume the field name is room_no DataRow[] filteredRows = dt.Select("room_no=" …

Member Avatar for samsylvestertty
0
206
Member Avatar for ian.murray.33821

I don know what are you doing till the user gets a "Game Over" Are you summing up the points? If so when the user gets a "Game Over" or the user's 5 "go"s are over. 1. Just display the user's points in a message box. 2. Disable the generator …

Member Avatar for ian.murray.33821
0
215
Member Avatar for shhh

Does the root account exist in your local host MySQL server? Does the root account exist without a password? for 1 & 2 try to login to mysql with the username as root and empty string '' as password If you could login with the given credentials Try giving a …

Member Avatar for samsylvestertty
0
246
Member Avatar for howard.teoh.7

// Initialize a new textbox TextBox txt = new TextBox(); // Set the dimension and location txt.Top = 10; txt.Left = 10; txt.Width = 100; txt.Height = 25; // Set the visibility and add it to the form txt.Visible = true; this.Controls.Add(txt); For saving.... Save all the controls with their …

Member Avatar for howard.teoh.7
0
195
Member Avatar for krunal1986

You can either use an **Outlook object in VB** or use the **winsock object**. The winsock concept might be li'l confusing. But it doesn't need Outlook to be installed on your system whereas option 1 needs outlook to be installed in the client system. If you still choose winsock, do …

Member Avatar for samsylvestertty
0
488
Member Avatar for varma51

Do you need this same XML to be exported to HTML? or you need an automation routine to convert any XML ( like the one you specified ) to HTML table? For the first criteria. ( Steps are for MS Excel 2007 ) 1) Import the xml file to Microsoft …

Member Avatar for varma51
0
265
Member Avatar for manhthaodn

Set visibility = true before the function Binding_SaleOrderInfoRelated Set thr progress bar's max property to orders.Count increment the progress bar's value property by 1 at the end of each iteration foreach (var o in orders) { . . . progressBar.Value++; } Set visibility = false after the function Binding_SaleOrderInfoRelated Hope …

Member Avatar for Mike Askew
0
602
Member Avatar for lloydy76

Hi, Came across the thread. Maybe there is a solution. Simple calculator without any conditional statements (switch or if). Try this. Might be big for a beginner ( yet its simple ). The project can be downloaded [here](http://swdevl.blogspot.in/2012/08/simple-calculator-without-conditional.html). Concept used: **Function call by name** using System; using System.Collections.Generic; using System.ComponentModel; …

Member Avatar for samsylvestertty
0
6K
Member Avatar for M.Waqas Aslam

normal code would do it. just run your exe as an administrator after building. The exe can access the text file.

Member Avatar for M.Waqas Aslam
0
94
Member Avatar for system_Broken

It is valid until no other service uses it. Write a simple client program to check whether its workin

Member Avatar for samsylvestertty
0
138
Member Avatar for jnbradl

The field name "VALUE" is a keyword in access that produces the error. Use [VALUE] instead of VALUE in the field part i.e.) OleDbCommand cmmd = new OleDbCommand("INSERT INTO Firearm (SERIAL, MANU, MODEL, CALIBER, [VALUE], DESCRIP) " + "VALUES (@SERIAL, @MANU, @MODEL, @CALIBER, @VALUE,@DESCRIP)", conn); FYI If you get an …

Member Avatar for samsylvestertty
0
966
Member Avatar for abhi415
Member Avatar for iampord

Yes it is possible. Try `GetAsyncKeyState` API function. Check this [project](https://www.box.com/s/436b62b37b2614cb1248). Its in c#. You can use it though.

Member Avatar for M.Waqas Aslam
0
134
Member Avatar for michael.vertreese

Change the output statement to Console.WriteLine("The sum is: " + numberTotal); or Console.WriteLine("The sum is: {0}", numberTotal); Hope this helps

Member Avatar for arunkumars
0
1K
Member Avatar for Jake.20

Private Function GetMonths(ByVal dtFrom As DateTime, ByVal dtTo As DateTime) As Integer Dim dtDiff As TimeSpan Dim nTotalMonths As Integer dtDiff = dtTo - dtFrom nTotalMonths = dtDiff.TotalDays / 30 ' We take 30 for a month GetMonths = nTotalMonths End Function Hope this helps

Member Avatar for samsylvestertty
0
208
Member Avatar for preety girl

***You can always prefer Java over C++.*** When it comes to compare Java and C#..... Java and C# are both good languages to learn. Both are similar to C but are ***object oriented*** ( You would have learnt in C++ ) C# with .NET framework gives you an excellent environment …

Member Avatar for deceptikon
0
136
Member Avatar for laavanya

Firstly, please share whether you are interested in learning things or do some project that would satisfy your faculty [ for your grades ]. If I were you I would have done **For grades** Go for any record maintenance system [ use file handling or DB ] **For learning** Don't …

Member Avatar for laavanya
0
211
Member Avatar for plusplus

Open any child form and call the function ZOrder. This will get the child form in front of other forms When you have the child forms in front, you will automatically have you parent form at back.

Member Avatar for samsylvestertty
0
165
Member Avatar for gertails
Member Avatar for samsylvestertty

Hi Friends, I have created a small C# program to "SendKeys" to the active application. I use it to automate the cheat code typing for games. I have assigned cheats to some keys in the keyboard. Problem is the `SendKeys.Send()` works with notepad (i've tested) but not working with GTA …

Member Avatar for samsylvestertty
0
379
Member Avatar for VasquezPL
Member Avatar for pae1800

If you are using a stand-alone application you can always keep the database in your application path (where the exe resides). What makes you to change the database location often? Include or create the database in the application path. Never hardcode any path in your code ("D:\AF_Software\DB\DBAF1.mdb"). Use relative path …

Member Avatar for samsylvestertty
0
154
Member Avatar for SkyAiedail

You need to show some initiative towards your goal. Refer the link http://swdevl.blogspot.in/2012/01/word-game.html Check the project provided. It might help you develop the project....

Member Avatar for samsylvestertty
0
172
Member Avatar for Rubinder singh
Member Avatar for skatamatic
0
317
Member Avatar for nquadr

Check whether u hv referenced the excel object to your project. Also check for the xlUp value at runtime. The error doesn have anything to do with VB. It is triggered from the excel mod.....

Member Avatar for samsylvestertty
0
105
Member Avatar for rokokmalboro

"***Either BOF or EOF is True Or the current ...***" occurs when you try to access a recordset's data after it has reached it's last record (cos no record exists after the last record) (or) the recordset doesn't have any data. Wrap your code with the ***if ... End If*** …

Member Avatar for samsylvestertty
0
134
Member Avatar for anoojmutt

'I lost touch with VB6 'If the code has any errors do notify Dim arrayValues(ARRAY_LENGTH) As Integer 'Hope u fill the arrayValues Dim iter As Integer 'Iterator Dim biggestNumber As Integer 'Temporary Variable biggestNumber = arrayValues(0) For iter = 1 To UBound(arrayValues) - 1 If arrayValues(iter) > biggestNumber Then biggestNumber …

Member Avatar for samsylvestertty
0
114
Member Avatar for shaanmugavel
Member Avatar for samsylvestertty
0
203
Member Avatar for visakan
Member Avatar for visakan
0
100
Member Avatar for poojavijay

You may read the file char by char and increment a counter if the symbol '*' is encountered Or read all the lines and store in a string and then use any string operation to do the same Can't post any codes as I don't have any "hands - on" …

Member Avatar for samsylvestertty
0
98
Member Avatar for rick.eavans

I would prefer that you have a static class with a static variable of type string. A static class needs no implementation. public static class Common { public static string UserName; } and for calling use Common.UserName = ComboBox1.Text;

Member Avatar for Mitja Bonca
0
843
Member Avatar for Mitja Bonca

I'm sorry that I cannot help you technically coz i just lost touch with C# but I could give some ideas logically. Single server (i mean the clones too with same port) may not fit in this situation. "Multiple servers" concept would fit in this situation well. Use a centralized …

Member Avatar for l3l4c7_h4t
0
429
Member Avatar for Vast

The data needs to be manipulated(for any reason) needs to have a uniform format to have the job done. Im sure the length of the chapter wont be the same with bookname like I Judges or I Chronicles etc. Ill give you a format, kindly check your text and tell …

Member Avatar for samsylvestertty
0
379
Member Avatar for feedz87

What is the DataType of CrystalReport0? Is that a control added at design time? Just try to right click on the word "Connect" and click definition. If you get a message box showing "Identifier under cursor not recognized.", then the function is not a member of CrystalReport0.

Member Avatar for samsylvestertty
0
245
Member Avatar for apanimesh061

The error produced is showin that you have just typed [I]csc[/I] in DOS prompt. A csc command can only be typed when the DOS prompt is opened in the C# directory. Try executing the csc with the full path of it preceding it. The command may be something like this …

Member Avatar for ddanbe
0
183

The End.