Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
12
Posts with Upvotes
10
Upvoting Members
12
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
~34.5K People Reached
About Me

I am a network engineer that loves to code. I started on the Aquarius systems, and used just about every system until the home brew revolution started. Since then I have been an IT technician that loves to code and fix things that most people can't.…

Interests
Coding, IT, Linux, being a Geek :)
PC Specs
AMD 64 X2, ASROCK MB, 4GB ram, 1TB HD, ATI 9600 Ubuntu, windows 7 (virtual box in ubuntu)
Favorite Tags

46 Posted Topics

Member Avatar for zinnqu

Using the Load and Unload events of the Forms add these subs to handle a simple fade in and out effect. This is not limited to just one form. The subroutine definition can be added to any global class allowing the use on any form or sub-form.

Member Avatar for vaibhav.garg.9484
3
5K
Member Avatar for JD69

This is not tested and may need debugging but: Here is an example that creates settings then handles them, adjust the code to work for your program and/or handle the dates like [CODE]# Public Function DateGood(NumDays As Integer) As Boolean 'The purpose of this module is to allow you to …

Member Avatar for anand.mahato1
0
4K
Member Avatar for arezz09

[QUOTE=ninjatalon;1479320]After closing the forms you will lose all data because all that data was just saved in memory therefore its only temporary. What you want to do is save that data into a database[/QUOTE] The other option is to save the information to a CSV file or XML file as …

Member Avatar for ananth3125
0
211
Member Avatar for zinnqu

Using the Load and Unload events of the Forms add these subs to handle a simple fade in and out effect. This is not limited to just one form. The subroutine definition can be added to any global class allowing the use on any form or sub-form. This is the …

Member Avatar for CsharpChico
1
2K
Member Avatar for RenanLazarotto

In the Build part of the project properties you can tell the system to reference your dlls, whether to include or exclude during build, where to place them after build, and make a installer that places them there. look up the exact directions in the studio help file, or on …

Member Avatar for RenanLazarotto
0
184
Member Avatar for bettybarnes

This can be done with your database. Since you can have a "control id" autonumbered into the database, all you need to do is tell the program that you need a new record and pull the newest number from the database as the record is created. This is already implemented …

Member Avatar for zinnqu
0
100
Member Avatar for Eagle4Ever

1) Eric Raymond, compiler of The New Hacker's Dictionary, defines a hacker as a clever programmer. A "good hack" is a clever solution to a programming problem and "hacking" is the act of doing it. Raymond lists five possible characteristics that qualify one as a hacker, which we paraphrase here: …

Member Avatar for WaltP
0
220
Member Avatar for BleepyE

just adjust the your text inputs to look like this: [CODE] Select Case line(0).Trim Case "apples" apples.Text = line(1) apples2.text = line(0) Case "bananas" bananas.Text = line(1) bananas2.Text = line(0) Case Else 'Bad Fruit End Select [/CODE] feed the textbox like so [CODE] AppleTextBox.Text = apples2.Text & " " & …

Member Avatar for BleepyE
0
119
Member Avatar for scranton

Reload the 1.1 .net or just upgrage to a newer one that contains the same information under systems.web.ui

Member Avatar for alc6379
0
124
Member Avatar for dougancil

Do you want to pass the data from form to form? Or would you rather "INSERT" the data then pull the new data from the SQL database? This is a consideration that needs to be used in the planning of your program. One way means you declare a global var …

Member Avatar for dougancil
0
352
Member Avatar for Unhnd_Exception

Here is a sample that I generated that works well for view switching using a combobox an loads with the form. All works well without issues, and it works with directory files. It switches the look upon change of the combobox. inside the combobox is items Details, List in that …

Member Avatar for Unhnd_Exception
0
193
Member Avatar for MaddTechwf

calling the Run command in windows is not really on option in vb.net how ever you can call any exe via System.Diagnostics.Process() [CODE] dim proc as new system.diagnostic.process() dim x as integer 'assign a button so that you can click and a inputbox will prompt and you can try to …

Member Avatar for zinnqu
0
116
Member Avatar for ashishkumar008

[CODE] using System.Media; SoundPlayer m_MySound = new SoundPlayer(Properties.Resources.YourSoundFile); //invoke as this m_MySound.Play(); [/CODE] as far as the swf control use the same method Properties.Resources.whatever

Member Avatar for zinnqu
0
1K
Member Avatar for Polongo

see this [URL="http://www.programmersheaven.com/mb/TheOne/281992/281992/resizing-a-form-at-runtime-based-on-screen-resolution/"]http://www.programmersheaven.com/mb/TheOne/281992/281992/resizing-a-form-at-runtime-based-on-screen-resolution/[/URL]

Member Avatar for Luc001
0
180
Member Avatar for Unhnd_Exception
Member Avatar for rachmad100

add this to the very top of your project [CODE]Imports Excel = Microsoft.Office.Interop.Excel[/CODE] make sure Microsoft Excel 12.0 Library Object is referenced in your project under Project -> add reference

Member Avatar for zinnqu
0
143
Member Avatar for sampaw20

[CODE] ds.Tables(0).Rows(0).Item("LVLStat") = Me.txtUpdate.Text [/CODE] is the problem, you told it to update only this record. What you need to use is this to update your selected record [CODE] ds.SelectedRows.Item(0) = Me.txtUpdate.Text [/CODE]

Member Avatar for zinnqu
0
112
Member Avatar for tendaimare

Before you can use a datatable you need a dataset. A data set is used to define the data table. The Idea is to do something like this first [CODE]' SQL Command object initialized Dim cmd As New SqlCommand("select productname,unitprice,categoryid from products order by productname; select categoryid from categories order …

Member Avatar for tendaimare
0
1K
Member Avatar for caz1224

What are you trying to do with this code, completely load a file into sql?

Member Avatar for kvprajapati
0
87
Member Avatar for Resentful

How do the programs interface to "parse" this string? Your problem lies with in the issue of containing that first. Then you should handle the input as it parsed via a split command to associate the parts that are scripts and the others that are not. For us to understand …

Member Avatar for Resentful
0
120
Member Avatar for zakben1

Why not create a radio/checkbox field with a event handler to change your math to reflect your change in measurement. The screen stays the same but the unit will not.

Member Avatar for zakben1
0
84
Member Avatar for The 7331 Geek

The number is a process ID of the still running command, what i am going to give you is untested, but the idea is there. try something like this [CODE] Dim process As New Process() Dim FileName As String = "netstat" Dim Arguments As String = "-aon" process.StartInfo.UseShellExecute = False …

Member Avatar for The 7331 Geek
0
3K
Member Avatar for vn412

Don't use the in clause. Use SELECT * FROM tbl WHERE (tbl.strval='2') You can later alter this to pass a variable where the 2 is to qiery dynamically

Member Avatar for zinnqu
0
79
Member Avatar for WDrago

There is really not that I can see, the longer way to do this is to use existing windows APIs. That is something like this: [CODE] Public Sub Open(ByVal portname As String, _ ByVal Spd As Integer, ByVal Pty As enumParity, _ ByVal Dtb As Integer, ByVal Stp As enumStopBits) …

Member Avatar for WDrago
0
2K
Member Avatar for Shinedevil
Member Avatar for Commando123

What do you want these kind of events for? Instead, you can write codes right after an item added or removed. e.g. [CODE] listView1.Items.Add("aa") 'write code which you want to put in the "items.add" event here.[/CODE]

Member Avatar for zinnqu
0
62
Member Avatar for Resentful

1.VB.NET Math.PI will only return 17 digits of pi beyond the '3.' marker. 2. Use established formulas to return a float number that is closer to the amount of maximum digits of pi that you need. From there Truncate the number to x digits after the decimal. 3. store the …

Member Avatar for zinnqu
0
218
Member Avatar for x2fair

A easier way is this, contencate the statement with the information in it [CODE] my_cmd.CommandText = "Insert into TableName _ (route1,route2,route3,route4,route5,route6,route7,route8,route9,route10,route11,route12) Values " _ & ListBox1.Items.Item(0) _ & "," _ & ListBox1.Items.Item(1) _ ... & ListBox1.Items.Item(11) & ") " [/CODE] then call the command. Less confusion and it will fill …

Member Avatar for kvprajapati
0
159
Member Avatar for drake10k

Yes, its too complicated for the idea that you want. You cant treat the xml data like any other data that is used in c#. try something like this [CODE] DataSet dsSet = new DataSet(); dsSet.ReadXml(Application.StartupPath + "\\agriculture.xml"); comboBox1.DataSource = dsSet.Tables["agriculture"]; comboBox1.DisplayMember = "Category"; [/CODE] Simple and quick to load.

Member Avatar for zinnqu
0
112
Member Avatar for get connected

There is a simple solution to this all together. Add a timer into the workbook that auto-closes the workbook after x time of inactivity. here is the code to add to the VBA side of the workbook to fix the issue [CODE] 'Set Timer Private Sub Workbook_Open() EndTime = Now …

Member Avatar for Fungus1487
0
5K
Member Avatar for emily1989

First Change the counterl to an integer type, second remove line 62. This will allow the counter to increment correctly. The Byte type cannot be treated as a integer while in a Select Case, as the values are reference differently. For a better understanding look [URL="http://msdn.microsoft.com/en-us/library/cy37t14y%28v=vs.80%29.aspx"]Here[/URL] as this gives a …

Member Avatar for Riga
0
141
Member Avatar for zinnqu

This is a great example for a thread stop. Simple debugging trick for any looped process that needs the "e-brake" applied while making sure that the thread is working correctly. The idea is that you can manually stop a thread, to prevent that hanging sensation during any process. This works …

0
3K
Member Avatar for tensai

My first question for you is why not use a SQL statement to select all data from both tables then JOIN the selected information into another table (temp or not). With single statement you can manipulate one table to the datagrid without handling three or more to do the same... …

Member Avatar for tensai
0
202
Member Avatar for avinash_545

The other part that can be done is that the use of a ISA Firewall service to redirect to a specific server is also a good idea. Meaning the use of a domain name I.E. [url]http://yourdomain.com[/url], then use the ISA firewall program on one server to redirect the path I.E. …

Member Avatar for zinnqu
0
306
Member Avatar for rheyn

Use google to find a example of VB and mysql. there are plenty of examples on the web that will get you what you need. Like [URL="http://mikehillyer.com/articles/the-vb-net-mysql-tutorial-part-1/"]http://mikehillyer.com/articles/the-vb-net-mysql-tutorial-part-1/[/URL]

Member Avatar for zinnqu
0
62
Member Avatar for Themanhunt

Here is a example [CODE]Public Class KeyCombos ''' <summary> ''' Stores the currently pressed keys. ''' </summary> Protected mKeys As New HashSet(Of Keys) ''' <summary> ''' Stores the KeyCombos along with an action to do when pressed. ''' </summary> ''' <remarks></remarks> Protected mKeyCombo As New Dictionary(Of Keys(), Action) Protected mCheckCombos …

Member Avatar for Themanhunt
2
856
Member Avatar for zinnqu

I have created a encryptor/decryptor that allows you to encrypt/decrypt text in a textbox, or a file. The basis of the system is to allow a user to thoroughly protect data within their system. Is there anyone that would be willing to test the program?

Member Avatar for zinnqu
0
169
Member Avatar for matinice

try using [CODE]ob_start(); // start buffer include ("file-to-include.php"); $content = ob_get_contents(); // assign buffer contents to variable ob_end_clean(); // end buffer and remove buffer contents echo $content; [/CODE] or [CODE] <?php $handle = @fopen('yourfile...', "r"); if ($handle) { while (!feof($handle)) { $lines[] = fgets($handle, 4096); } fclose($handle); } ?> [/CODE] …

Member Avatar for zinnqu
0
159
Member Avatar for DARK_BYTE

Read my thread here, i cover everything on this uploading and retreaving. I had the same issue. [url]http://www.daniweb.com/forums/thread246879.html[/url] I found that the code can be maniplutated enought to call a picture in all proogramming languages.

Member Avatar for zinnqu
0
113
Member Avatar for Stefano Mtangoo

Thats great. I think that there should be more developers out there. Increase the knowledge, and understanding in which the internet was borne.

Member Avatar for FlashCreations
0
140
Member Avatar for ampLife

You need to have a PHP addition installed with the apache server. PHP needs to have the interpriter for the PHP. Without it you will get the 403 error. Also apache needs to be configured to see index.php as a valid index file. Go to the PHP home page (php.net) …

Member Avatar for phpbeginners
0
173
Member Avatar for mrjoli021

Here is a more absolute way to print the information [CODE] while ($row = mysql_fetch_array($result)) { echo $row[0].'<br />'; } [/CODE] This will give you the first queried object in the sql query line. if you add more to the sql query, each object queried is counted and place number …

Member Avatar for mrjoli021
0
2K
Member Avatar for edwingudfriend

What exactly are you trying to do? query a db? or a number of pages like a search spider?

Member Avatar for zinnqu
0
57
Member Avatar for help_lucky

This is code for a nav table and banner, with page conext [CODE] <table width="100%" height="300px" border="0"> <tr> <td height="50px" colspan="3"> <p>Header</p> <!-- can also be a banner page via include call --> </td> </tr> <tr> <td width="150px"> <!-- simple nav bar --> <p><a href= "index2.php?action=link&amp;what=main.php">home</a></p> <p><a href= "index2.php?action=link&amp;what=guest/index.php">about us</a></p> …

Member Avatar for zinnqu
0
107
Member Avatar for rukshilag

I just got mine to work.. try this [CODE]<?php $host = "localhost"; $user = "user"; $base = "database"; $pass = "PASSWORDDELETED"; $dirself = $_SERVER['PHP_SELF']; $req = @mysql_connect($host, $user, $pass); $cnx = @mysql_select_db($base) or die("you f'ed up!"); $ds = date(dmy); if ($cnx) { echo '<html>'. '<head />'. '<body>'. '<form action="'.$dirself.'" enctype="multipart/form-data" …

Member Avatar for zinnqu
0
245
Member Avatar for liamfriel

[QUOTE=liamfriel;1077548]Hello All, I got an email like this: I checked the url and it was indeed our site - I made some changes to our copy and the changes applied to the "hack site". Is it possible he just used Curl to create this clone homepage? What is the most …

Member Avatar for liamfriel
0
100

The End.