14,025 Topics

Member Avatar for
Member Avatar for harsimran05

im tr table only 2 column exist , first1 time period of text type nd 2nd is rate ,i.e also text type,my code is [code] try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:DRIVER=Microsoft Access DRIVER (*.mdb);DBQ=trrelation.mdb"); String tp=(String)mTimePd.getElementAt(cTimePd.getSelectedIndex()); PreparedStatement ps=con.prepareStatement("select Rate from tr where TimePeriod=?"); ResultSet rs=ps.executeQuery(); ps.setString(1,tp); while(rs.next()){ tRate.setText(rs.getString(2)); } con.close(); } …

Member Avatar for JamesCherrill
0
83
Member Avatar for anuradha2011

Please tell me how could i run .asp page on html website that is hosted on NIC's web server. Please reply at your earliest

0
112
Member Avatar for paulmcco

I receive this error in a c++ program after moving the program from Mac OS X to windows...I was using XCode, I am now using Visual C++...I looked up the error codfe but don't understand how to apply the solution. Here is the solution as stated by microsoft: A type …

Member Avatar for paulmcco
0
540
Member Avatar for kungfujam

The below bit of code is running very very slowly. I cant see why this should be but there seems to be almost a second delay when I'm using f8 to run through the code bit by bit when I get to the end if...any clues? [code] Sub firstResponse() Dim …

Member Avatar for SpiritualMadMan
0
216
Member Avatar for Zssffssz

Ok I have all the framework done. Programs I want it to do all linked up in another program Done. A c++ program to write to boot sector DONE. All I need now is a simple (less than a gig of text:) way to start the other program from the …

Member Avatar for Zssffssz
0
396
Member Avatar for dwinn

Hi Everyone, I am writing a program in VBA (within Access 2010) that grabs a specific .txt file, split up the fields as per given specification and imports the values in to an Access table. So far, I can open the file and see what the program is seeing and …

Member Avatar for dwinn
0
3K
Member Avatar for Ritesh_4

Hello I had a problem related to this thread: [url]http://www.daniweb.com/hardware-and-software/microsoft-windows/web-browsers/threads/379762[/url] However, now from my IM client, after a file transfer was done, I get the option (as a link in the IM window), to either open the file, or open the folder where the file has been sent, but however, …

Member Avatar for Ritesh_4
0
191
Member Avatar for ruba_cti

I need to update a column in access where I should be removing the 7 leading characters in a field.Example: Column value before: AB34567213. Colum value after: 213 So, I tried using VB in Access and this is what I got so far: [CODE]Private Sub delete_leading_chars() Update table_name Set col_name …

Member Avatar for ruba_cti
0
177
Member Avatar for johmolan

I am trying to export a datagridview ti excel, but i get an error I do not quite understand. I have made two click-events using two buttons looking like this: [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As SqlConnection Dim sql As …

Member Avatar for bklynman01
0
251
Member Avatar for kained

Right basically a form i have done is refusing to let more then one attachment be attached to the form and then emailed. This is happening on multiple sites within the server. I'm blaming our smtp server settings but don't really have anything to back up that assertion. Anyone give …

0
72
Member Avatar for Sariscos

[ATTACH=RIGHT]21290[/ATTACH]The HP ProBook 6560b at first glance is not distinguishable from other laptops. However, this business rugged machine was designed for the modern day businessman. It’s sleek, charcoal black aluminum case is smooth to the touch. Weighing in at a little less than six pounds, this laptop was made to …

Member Avatar for AndrewH
2
721
Member Avatar for Gizzle72

Very new to writing macros, trying to impress the boss with a project, but I am stuck with a code. I can hide the rows when the checkbox is selected, but the other checkboxes are still visible. Is there a way to hide other checkboxes as well. My current code: …

Member Avatar for Gizzle72
0
178
Member Avatar for nagatron

Hello to all java programmers I have a java database problem specifically the auto increment. In my MSAccess I have a table named "[B][COLOR="Red"]Confirm[/COLOR][/B]" and in that table I got two fields, the "[B][COLOR="Red"]confirm[/COLOR][/B]" which is set to text and the "[B][COLOR="Red"]id[/COLOR][/B]" which is set to auto number or auto …

Member Avatar for nagatron
0
969
Member Avatar for ryan101

hi everyone i am 19 years old and have just finished ICT level 2 at college and have this great idea for a website but looking into it seems i need a database driven website and im nowhere near smart enough. ive played around with microsoft access and notepad and …

Member Avatar for teedoff
0
102
Member Avatar for TerenceZ

I want to give users full access to certain folders in the ProgramData folder. Can this be done with Delphi code?

Member Avatar for pritaeas
0
95
Member Avatar for harsimran05

[CODE]import java.awt.*; import javax.swing.*; import java.sql.*; import javax.swing.text.MaskFormatter; import javax.swing.table.DefaultTableModel; import java.util.Vector; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; class MyFrame extends JFrame implements ActionListener,MouseListener{ Container c; JLabel lAccountNo,lAName,lDateofOpng,lAddress,lContactNo,lTotalBalance; JTextField tAName,tContactNo,tTotalBalance; JTextArea tAddress; JFormattedTextField tDateofOpng,tAccountNo; JButton bAdd,bNew,bDelete,bExit,bUpdate; DefaultTableModel mAccthld; JTable tAcctHld; MyFrame(){ c=getContentPane(); setSize(Toolkit.getDefaultToolkit().getScreenSize()); setTitle("Account Holder"); setLayout(null); lAccountNo=new JLabel("AccountNo."); …

Member Avatar for JamesCherrill
0
163
Member Avatar for gawickham

Problem - Main - Clicking any Google Search result, results in redirect to random sites - NOT the site of the search result - search function not usable Secondary - computer has slowed to less than a crawl plus - recently, on boot-up, Avast reports that Microsoft Realplayer.exe is suspect …

Member Avatar for gawickham
0
601
Member Avatar for hondros

I posted a while back ago on making directx work in classes. I'm having more issues now. On line 125 (system.cpp), when in debugging, it tells me that it has an access violation. I googled the issue, and someone had said something about initializing the pointer, but that is taken …

Member Avatar for hondros
0
197
Member Avatar for kheijhei

hi there, can anyone please help me how to insert, search and delete a picture in vb.net and Microsoft access 2007? A picture that will be store in access is inserted in a form or a picture box. But it seems i have the wrong codes.. and when i click …

Member Avatar for Netcode
0
159
Member Avatar for dwinn

Hello, I am currenrtly trying to write a query in Microsoft Access 2010. This query retreives a list of values from a table I have called tblTable Some of the values are numeric and some are alpha numeric. I am trying to do the query so that when it comes …

Member Avatar for dwinn
0
2K
Member Avatar for harsimran05

import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.util.Vector; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.text.MaskFormatter; import java.sql.*; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; class MyFrame extends JFrame implements ActionListener,MouseListener{ Container c; JLabel lRollNo,lName,lAge,lMarks; JTextField tRollNo,tSName,tMarks; JTextField tAge; DefaultTableModel mStud; JTable tStud; JButton bAdd,bNew,bRemove; MyFrame(){ c=getContentPane(); setLayout(null); setTitle("My Frame"); setSize(800,700); setLocation(10,10); lRollNo=new JLabel("Roll no"); …

Member Avatar for peter_budo
0
161
Member Avatar for reiddwyer

Hi, I have to create this program for school to restart a bootcamped mac back onto mac from windows with an application made in visual basic. So I need my computer to restart which I have successfully completed. Now I just want to find out how to get the application …

Member Avatar for NetJunkie
0
104
Member Avatar for harsimran05

showing illegal start of expression in defining functions of mouselistener interface import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.util.Vector; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.text.MaskFormatter; import java.sql.*; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; class MyFrame extends JFrame implements ActionListener,MouseListener{ Container c; JLabel lRollNo,lName,lAge,lMarks; JTextField tRollNo,tSName,tMarks; JTextField tAge; DefaultTableModel mStud; JTable tStud; JButton …

Member Avatar for JamesCherrill
0
434
Member Avatar for agrarian

I have a project where I need to retrieve data from MS SQL Server and format it into an Excel Spreadsheet. I am using the OfficePartner component to try and make this easier, but I'm having a hard time figuring out how to get the VB help and Excel Object …

Member Avatar for Wolfgan
0
904
Member Avatar for caseyl89

Hi so i'm working on a project in c#. I have hundreds of xml files and I need to extract 6 values from each of the xml files and somehow display them on an excel datasheet. Here is an example of the xml file: [code] <XAxisCalib> <Max>288.93</Max> <Min>-48.08</Min> <MaxS>200</MaxS> <DfTHt>0</DfTHt> …

Member Avatar for caseyl89
0
1K
Member Avatar for WolfShield

I have some program ideas that I would like to build for PC, Mac, and Linux/Unix. The process I have in mind is to write the core libraries in C++, then program each UI based on OS. Windows: C# Mac: Objective-C and Cocoa Linux/Unix: C++ and GNome/Gtk But, I only …

Member Avatar for mike_2000_17
0
216
Member Avatar for Netcode
Member Avatar for Nicknastoff

Hello My friends computer is giving him some trouble so he asked me to take a look at it. I recently got rid of a virus a month or so back, but now it's messing up again. I turn on the computer, then it just shuts down! It goes to …

Member Avatar for jingda
0
184
Member Avatar for WolfyB

My old laptop broke a while back and the hard drive was somewhat intact but just wouldn't boot. I now have a new desktop and bought a 2.5 IDE Hard Drive Enclosure so I could get all my info. However my old laptop user account was password protected, so now …

Member Avatar for WolfyB
0
204
Member Avatar for Cally_Law

Can anyone help on how to show a message box showing that existing record has been entered in database if i tried to enter the new record. However, if the input is new record (record added), the record is saved into the database. I'm using visual basic 2008 and Microsoft …

Member Avatar for ShahanDev
0
236
Member Avatar for Kevin392

I'm having some issues and was hoping someone may be able to assist. When booting up I receive a message that the disk needs to be checked however it then indicates that autocheck cannot check the disk due to a configuration error from a software upgrade. Windows then proceeds to …

Member Avatar for caperjack
0
567
Member Avatar for JoshuaBurleson

Has anyone tried Microsoft's Python Tools for visual studio? I read on /. that it's suppose to support any interpreter not just Ironpython, but I'm only seeing Cpython and Ironpython. Any feedback? [URL="http://pytools.codeplex.com/"]http://pytools.codeplex.com/[/URL]

0
146
Member Avatar for kapojian

hi. i have a main form and log-in form. when i try to log-in and entered a wrong user or password it gives me error and i dont understand why the error is in the main form??? heres my code in my login form.. [CODE] private void Lgbtn_Click(object sender, EventArgs …

Member Avatar for kapojian
0
139
Member Avatar for KLL0203

Hello, A couple of days ago I was using Pandora and it suddenly said that my plugin had stopped working, Firefox froze, and my mouse (laptop) stopped working. I found that somehow the mouse had been turned off. The next day I tried using Pandora again, and once again the …

Member Avatar for jholland1964
0
340
Member Avatar for happygeek

[ATTACH=RIGHT]22124[/ATTACH]If you are a Windows 7 user then maybe you have longed for a mouse designed just for you and your Operating System, but somehow I doubt it. What you want is a mouse that just works the way you expect and doesn't leave your wrist feeling like you've been …

Member Avatar for happygeek
0
409
Member Avatar for Roy&Carmi

I got an assignment to search in a certain excel worksheet which I'm using the Find & Replace dialog of excel all I want is to make a VB6 program that will going to load the excel data into VB6 flexgrid and search hundred of words in a one click …

Member Avatar for debasisdas
0
136
Member Avatar for kayoh

Hey guys, Just as the title says, I want to implement using an excel spreadsheet as an argument for a python script. I already have the layout of the spreadsheet, but I want to be able to assign the variables in my python script from specific cells of the spreadsheet. …

Member Avatar for Gribouillis
0
1K
Member Avatar for Boscobear

Around two months ago I completely restarted the whole computer becuase of some issues it was having. I reinstalled the Sims 3, but when I tried to play a box popped up (instead of the regular menu) with the following message: 'Application has generated an exception that cannot be handled. …

Member Avatar for kaykaybrie20
0
141
Member Avatar for njkeung

whenever I turn on the computer, a small box pop up as below, ======================================= RunDLL Error loading (indicate part of my email that I already send out) The specified module could not be found ============================================= In following Hijack log file, I see the following: [COLOR="Green"]O4 - HKCU\..\Run: [lpc] rundll32.exe "she …

Member Avatar for jholland1964
0
231
Member Avatar for raaif

I am trying to check for certain processes that is running and then inform the user of those processes via textbox like "The programs; -name of the processes running goes here- are running" The I am using is [CODE]Dim iIndex As Integer Dim isd As Integer = 0 iIndex = …

Member Avatar for raaif
0
173
Member Avatar for mah300274

At the time of when I installed Debian on my computer I also had 2 other windows restores / boot. I still have windows but I did another install of windows to clean my drives / get everything organized. When I formatted the old drive where the windows were installed …

Member Avatar for JasonHippy
0
266
Member Avatar for dlindner999

I'm still pretty new to this and I need some help. Here's the situation. First the user opens a form to select which database (one of 3) they are working in. Then they will be using several forms. The same set of forms are always used no matter which database …

Member Avatar for dlindner999
0
282
Member Avatar for huBelial

Hello, I have a program that reads images from my access database. What I'm trying to do now is write the images out to a folder but I don't know where to begin. The "ms" variable holds the images. [CODE]Option Explicit On Public Class Form1 Private cn As ADODB.Connection Private …

Member Avatar for Netcode
0
353
Member Avatar for mah300274

I was thinking of making a server (not anytime soon) but it would be VERY powerful. Basically to run a website which might or might not be as huge as I would hope, but anyway... Since ready up on linux (I use to be on windows but hopefully soon to …

Member Avatar for flagstar
0
259
Member Avatar for 3pointshooter

Below is a logfile from hijackthis. I have been getting messages form Google on a website I maintained about "automated queries" so cannot use the search. Google suggested to use hijackthis and have someone with experience review the log. Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 10:12:06 AM, …

Member Avatar for jholland1964
0
190
Member Avatar for sandeepparekh9

hi.. i just made two function related to excel . 1. Merging all sheet of excel as tables in single Dataset 2. Exporting a dataset to Excel File .(all the tables of dataset as sheets) i just wanted to share.. i hope it becomes helpful to you. ps: Dont forget …

Member Avatar for sandeepparekh9
0
542
Member Avatar for Walahh

Hello, May be the there is a very simple solution for my problem, but I am stuck on this for 2 days already. May be I had been looking at the wrong places...I would really appreciate any kinds of helps....feeling really frustrated right now. You see, for my project at …

Member Avatar for adam_k
0
270
Member Avatar for exicar

Hi, I´ve got following code for a office 2010 like tabcontrol in .NET 4.0 [CODE]<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ControlTemplate x:Key="OfficeTabControl" TargetType="{x:Type TabControl}"> <ControlTemplate.Resources> <Style TargetType="{x:Type TabItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type TabItem}"> <Grid SnapsToDevicePixels="True"> <VisualStateManager.VisualStateGroups> <VisualStateGroup Name="CommonStates"> <VisualState Name="MouseOver"> <Storyboard> <DoubleAnimation Storyboard.TargetName="hoverShape" Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:.1"/> </Storyboard> </VisualState> <VisualState Name="Normal"> <Storyboard> <DoubleAnimation …

Member Avatar for nmaillet
0
352
Member Avatar for navyjax2

This was an error I found on my computer that I did a search on the web for a quick and easy fix for. I found this forum that had my error and symptoms, but found no one had a solution. The thread was closed because the original poster had …

Member Avatar for Arniesdad
0
4K
Member Avatar for JacoScheepers

The command FileSearch does not excits in ACCESS 2007, my code is as follow: How do I import this filein a different code? Public Sub Import_Labolink() Dim sourcefile, destinationfile, miscresults As String Dim i, N, m, o As Integer 'Dim mFileSearch As New myFileSearch ' New code for filesearch N …

Member Avatar for adam_k
0
213

The End.