43 Posted Topics
I need help.. someone please provide some suggestions where to start.. I'm trying so hard to become a Fullstack .Net developer.. I'm currently learning MVC using C#
one question first.. how do you read the value from the dataset being returned?
do a loop and then there you can compare the values between two combo boxes.
Hi to all! I'm fairly new to using High availability group and i've been having issues with storage space from my Logs drive from my primary server.. I just want to know why is my Log file not shrinking after I do backups(Full) on the primary server.. also, another question.. …
do you use Windows 7 OS?, I also encountered this problem previously, just run everything as an administrator will solve the problem
We try to deply a website to a webserver but it shows only codes. are we missing something? is it possible that a webserver does not support asp?
my program freezes when I put this code on a button, but when I put it in the main it doesn't what could be the problem? protected void EstablishClient() { try { skt = new Socket("some.ip.of.me", 4444); out = new PrintWriter(skt.getOutputStream(), true); in = new BufferedReader(new InputStreamReader(skt.getInputStream())); txtRecvd.append("Received string: '" …
can I use the try...catch statement on java to stop the execution of codes on error? just like the exit sub on vb
can someone redirect me where I could learn serial port programming in java thanks.
what's wrong with my code? i'm new to java, can someone help me? the data is not showing. [CODE] public class GUI { private static JTextField fname = null; private static JTextField lname = null; private static JTextField search = null; private JPanel panel = null; private JPanel tablePanel = …
I created a barcode and displayed it in a picture box and i want to print it. i can't figure how to do it..
Send all the listview items to a DataSet then use the Microsoft Reportviewer to print
[CODE] Public Structure TMProduct <VBFixedString(25)> Public productline As String <VBFixedString(25)> Public hinban As String <VBFixedString(25)> Public shortcode As String <VBFixedString(25)> Public fusible As String Public nutcount As Integer <VBFixedArray(11)> Public nuts() As Integer <VBFixedString(512), VBFixedArray(11)> Public tips() As String End Structure [/CODE] in VB6 the length of this structure is …
My Brain starts functioning 24-7, and hell yeah it was fantastic! but my eyes get's really sored hahaha!
does anyone have any knowledge on serial port communication in java? can someone please direct me?
I am using this code [CODE] Public Function Get_Settings(filename As String) As Boolean Dim recordlength As Integer recordlength = LenB(Settings) On Error GoTo erroropeningsettingsfile Open filename For Random Access Read As #1 Len = recordlength Get #1, 1, Settings Close #1 Get_Settings = True Exit Function erroropeningsettingsfile: Get_Settings = False …
why my vb6 crashes whenever I add a label? I tried uninstalling and re-install vb6 but it seems not to fix the problem. How can I remove all vb6 files and components?
[QUOTE=jp_jones;1639178]No, we were using Visual Studio 2005.[/QUOTE] Visual Studio is an IDE, VB2008 is part of Visual Studio
why this code is not working?, error: non-static variable jTextField1 cannot be referenced from a static context [CODE]try{ Connection con = DriverManager.getConnection("jdbc:mysql://localhost/sample", "", ""); Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT name FROM testtable"); while (rs.next()){ String n = rs.getString("name"); jTextField1.setText(n); } stmt.close(); con.close(); }catch(Exception e){ [/CODE]
anyone have a link? I want to display data on the GUI that I made using NETBEANS.. I started learning java today, I got error non-static variable jTextField1 cannot be referenced from a static context. [CODE]Connection con = DriverManager.getConnection("jdbc:mysql://localhost/sample", "", ""); Statement stmt = (Statement) con.createStatement(); String select = "SELECT …
why this code is not working?, error: non-static variable jTextField1 cannot be referenced from a static context [CODE]try{ Connection con = DriverManager.getConnection("jdbc:mysql://localhost/sample", "", ""); Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT name FROM testtable"); while (rs.next()){ String n = rs.getString("name"); jTextField1.setText(n); } stmt.close(); con.close(); }catch(Exception e){ [/CODE]
[QUOTE=MarkGia;1621070]i have done a forum but how can i find the database i need to use it with navicat but can really do it[/QUOTE] Google it, there are tons of information about Databases..
shifting from vb.net to java gives me a hard time!.. I have a little background on java.. but not on Java + Database.. anyone can give me samples or tutorials? I started googling some but hell I can't understand it
[CODE]SELECT column_name(s) FROM table_name1 UNION ALL SELECT column_name(s) FROM table_name2[/CODE]
i'm using this code [CODE] If txtCashTendered.Text = "" Then MsgBox("Input Amount First!") txtCashTendered.Focus() Exit Sub End If If ctbTotal.Text < txtCashTendered.Text Then Try Dim x x = MsgBox("Finalize Transaction?", MsgBoxStyle.YesNo) If x = vbYes Then txtCashChange.Text = Format(txtCashTendered.Text - ctbTotal.Text, ".00") FinalizeTransaction() End If Catch ex As Exception MsgBox("Create …
post your code please
what's the reason that I should set RtsEnable and DtrEnable to true?? it worked for me but I can't understadn why I should set those two property to True..
use SQL ORDER BY command
well i'm using this code to get the last line of the textfile.. try playing with it [CODE]dim line as String dim sr as StreamReader sr = File.OpenText(textfile) Do While sr.Peek() <> -1 line = sr.ReadLine Loop[/CODE]
[QUOTE=adam_k;1618015]If tabletoread is a datatable, then sort before getting the records[/QUOTE] yeah adam_k is right, for addition you can use SQL Order By statement, for example: this one sort your data by date in ascending order SELECT * FROM [table_name] [B]ORDER BY[/B] [Date] this one sort your data by date …
try this [CODE]Dim IDNumber As String = Nothing Dim User As String = Nothing Dim Pass As String = Nothing If txtUser.Text = "" Then txtUser.Focus() : MessageBox.Show("Please Enter Username", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information) : Exit Sub If txtPass.Text = "" Then txtPass.Focus() : MessageBox.Show("Please Enter Password", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information) : …
password only eh?, i've seen this once, is your text file have this some kind of data with hidden indexes? well i have this one, on the form load event I use filestream to load the text file for my users and reading it and getting their indexes the program …
hello guys, is there an alternative for timer?
Search, Read, Learn and Read and Read and Read and Learn.. patience is the key..
is the file delimited with a comma?
I am developing a program where I will save the information from a "Log file" from an external application.. example: I have a biometrics system that reads and saves the log file to disk, once the user logs to the system, the system will save the file to a log …
i know how to save a text file to a sql database, the problem is on when will be the process is executed because i need to monitor the operation of an existing system..
[QUOTE=Tellalca;1603182]First versions of Linux kernel was developed by a lone man called Linus.[/QUOTE] yeah! and that guy is awesome.
does anyone knows how to program using vb.net with rs232 module?, all i know is that i should use a compolet, but i can't understand a thing regarding the sending and receiving bit data to the machine.. I use CJCOMPOLET from OMRON
The End.