4,457 Topics

Member Avatar for
Member Avatar for Bidamin

Hi, I am trying to write a script that takes in a user inputed Excel file and adds/deletes/edits a row and re-saves it. Because xlrd and xlwt dont work together I am forced to combine them together and copy the xlrd workbook to an xlwt workbook. I am using python …

Member Avatar for slate
0
809
Member Avatar for farooq82

Hi everyone, Below is code snippet to load excel file in datagrid. When my excel file is load is show unnecessary column with blank data. I did not want to show these columns. Can any help me how I will remove this column. I don't know how much blank column …

0
69
Member Avatar for slobo_n

Hi all. I have just started using Qt, and i can't find any primer on how to connect my Sql Server2008 database. What are the steps that i need to make, so my database is connected with Qt. Additional info: I'm using Qt 4.4.3 open source on Windows XP and …

Member Avatar for h3xc0de
0
86
Member Avatar for piotr_kast

I used this code to serialize: [code] using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; [Serializable] public class Car { public string Make; public string Model; public uint Year; public byte Color; } public class Exercise { static void Main(string[] args) { Car vehicle = new Car(); vehicle.Make = "Lexus"; vehicle.Model = …

Member Avatar for LizR
0
231
Member Avatar for whitestream6

I've just been editing an open-source PHP application (original version at [url]http://scripts.ringsworld.com/content-management/basiccms/[/url] , and modifying it to suit my needs :icon_cheesygrin: However, the PHP application is a CMS and always generates URLs this way: [url]http://yourwebaddresshere.com/cms/?id=1[/url] when I am trying to get it to be [url]http://yourwebaddresshere.com/cms/?id=pagename[/url] but I am struggling to …

Member Avatar for FlashCreations
0
148
Member Avatar for lerkei

Pls. tell me what's wrong with this code, I really need a big help..... tnx in advance... [code] Imports System.Data.OleDb Module Module1 Public admin As Boolean 'Use to identify if current user is Administrator End Module Public Class LoginForm1 Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Member Avatar for Comatose
0
121
Member Avatar for kerek2

hi Alls, I really need your help regarding this method, Actually i need to create one search box using textbox and the result will display on listbox. I have textbox1 as inputbox, button1 as search button , listbox1 to display the value , Database1.mdb as my database. Can u guide …

Member Avatar for Comatose
0
205
Member Avatar for vuyiswamb

Good Morning All I have a WebSetup Project and a Installer Class. I want to accept User [QUOTE]Database, Server,Username,Password and E-mail[/QUOTE] This is what i did so far. I have created a Websetup Class installer that looks like this [CODE] namespace ClassLib { [RunInstaller(true)] public class ClassLib : Installer { …

0
344
Member Avatar for GrimJack

I just ran across [URL="http://flowingdata.com/2008/10/21/code-for-walmart-growth-visualization-now-available/"]this [/URL] - not knowing who would be interested, I am linking here. Let me know if I picked the correct forum, thanks. It is open source and looks interesting.

0
52
Member Avatar for kiddo39

I'm trying to auto send a form submission to a website but it isn't working. I've done this before and it worked but for some reason, using the same basic code, it doesn't seem to submit it. I'm using urllib & urllib2 to open the page and re to parse …

0
97
Member Avatar for geetha123

Dear all, Good afternoon. I need a help. I am trying to install an open source DRM server in my system.from OPENIPMP Here they are using Tomcat server. To access the DRM server we are using JBOSS Application server.After installation I am trying to acccess the server by [url]http://localhost:8080/openipmp/jsp/login.jsp[/url]. But …

0
54
Member Avatar for ireneotom

Hello Friends please i am in trouble with ExecuteNonQuery() and my connection and i need your help. I have been trying to build a small program and seem to have been lost as to how to solve my problem. The exception details are Exception Details:InvalidOperationException was Unhandled ExecuteNonQuery: Connection property …

Member Avatar for 4advanced
0
822
Member Avatar for ryan311

all i want is if the value of my product stock is 0 then the message box show for example theres no more product stock and also i want is if the user inputted higher value in my text2.text for example my product stock left is 5 if he/she inputted …

Member Avatar for Ole Raptor
0
103
Member Avatar for winrawr

I'm using a windows port of gcc, g++, etc. as a compiler. How would I compile a DLL, and define/use its exports? Can I compile header files, classes, etc. into a DLL or only functions? Can DLL functions call functions in a program, or is it only one-way? For example, …

Member Avatar for Ancient Dragon
0
139
Member Avatar for apolo_x

Hi! I want to get information from a sports web site (ex:[url]https://www.bwin.com/pt/futebol)[/url], and I already tried htmllib and some other stuff.... the problem is that I can get the page's source code but not the same information that I can see in my browser. Particularly, I'm interested in the teams …

Member Avatar for Stefano Mtangoo
0
224
Member Avatar for Carlo Gambino

Hello, I have been using the python challenge to teach myself python as my first programming/scripting language outside of HTML. As I go along, I find that while I'm understanding the concepts rather well, I am not being as efficient as I could be. While the code I whip up …

Member Avatar for Stefano Mtangoo
0
136
Member Avatar for rak4u

Hi till now i am used window application in which there is no problem in connection using following code [code] Dim cnn As SqlConnection cnn = New SqlConnection("data source=RAKESH-676DD0E1;initial catalog=rw;integrated security=SSPI") cnn.Open() Dim da As SqlDataAdapter Dim dt As New DataTable da = New SqlDataAdapter("select * from publicity", cnn) da.Fill(dt) …

Member Avatar for rak4u
0
126
Member Avatar for Agni

Hi Daniites, I've been thinking long of joining some open source project but i just don't know how i can do that. If someone here has worked on one can you give me some insights? I need to know how these projects work, how the work is distributed, how is …

Member Avatar for Agni
0
100
Member Avatar for athlon32

I don't know if this is the right place to post this but here goes nothing. I know this is such a cliche from us C++ coders, but I wanna make my own open source OS. I would use something like BSD or Linux, but I really wanna use C++ …

Member Avatar for shasha821110
0
113
Member Avatar for devirell

I am unable to see the grid or the data. Here is my code from my .aspx file. I don't know what I am doing wrong: [code=asp.net]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="resumesearch.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Resume Search</title> <style type="text/css"> .style1 …

Member Avatar for devirell
0
1K
Member Avatar for firoz.raj

sir i want to show only distinct row should come in list box. any help would be greately appreciated. [code] Dim con As adodb.Connection Dim rs As adodb.Recordset Dim i As Integer Dim strReq As String * 10 Dim strName As String * 20 Dim strJob As String * 10 …

Member Avatar for firoz.raj
0
104
Member Avatar for ryan311

everytime i click my command button may mshflexgrid did not update :( here's my code [code] If Text1.Text = "" Then MsgBox "Please Input the Product Code", vbInformation Text1.SetFocus Exit Sub End If If Text2.Text = "" Then MsgBox "Please Input the Product Unit", vbInformation Text2.SetFocus Exit Sub ElseIf Text3.Text …

0
68
Member Avatar for serdas

hi, i have a program that i am using from an open source, it does not have a privete messaging system like this web site has, is there any way i can find some kind of a code to cretae one for the site, is something like that possible, i …

Member Avatar for lordspace
0
176
Member Avatar for firoz.raj

[ATTACH]8892[/ATTACH]Sir i want to create a separator bar for the column in listbox ,i have written a code . it is working fine .but i need separator bar to distinguish column in a list box : [code] Dim con As ADODB.Connection Dim rs As ADODB.Recordset Dim i As Integer Private …

Member Avatar for firoz.raj
0
160
Member Avatar for navinlearns

I have been working on a program that Should Scan a small Subnet i.e for eg 10.1.1.1 to 10.1.1.255 with the subnet mask 255.255.255.0 I am attaching screenshots of the main screen of my project as "Screenshot 1" source code :jMenu.java I am posting the code here: [code=java] package projectpack; …

Member Avatar for masijade
0
177
Member Avatar for julseypart

basically i would like to add up the total size of all the files for a particular user and display it in a label...this is what i have so far: [ICODE]SqlConnection myConnection = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\ASPNETDB.MDF;Integrated Security=True;Connect Timeout=30;User Instance=True"); myConnection.Open(); SqlCommand myFileCommand = new SqlCommand("SELECT SUM (fileSize) FROM aspnet_Files WHERE …

Member Avatar for julseypart
0
99
Member Avatar for firoz.raj

Can anybody tell me how should i generate automatic sr no which match with mr no. i have written a code but it is not working properly. [code] Dim crystal As CRAXDDRT.Application Dim Report As CRAXDDRT.Report Dim cparam As CRAXDRT.ParameterFieldDefinition Dim cparams As CRAXDDRT.ParameterFieldDefinitions Dim con As ADODB.Connection Dim rs …

Member Avatar for firoz.raj
0
204
Member Avatar for npasma

OK, yeah u guessed it. VBnoob here. Like so many other poor souls, lost in a sea of code...heres the dealio- I know param's need to be completely done and in the correct order for executeNonQuery() to work, but here's my error: Exception Details: System.Data.OleDb.OleDbException: No value given for one …

Member Avatar for Comatose
0
464
Member Avatar for avenue s

My name is Robert from the Antelope Valley, Ca. I am very excited to join this group of brilliant minds. Thanks to DANIWEB to make this possible. About me click <url snipped> Whatever we have accomplished for the past 2 1/2 years we decided to compile it into our linux …

Member Avatar for jbennet
0
131
Member Avatar for mn_kthompson

I was looking over some code for an open source project and I saw some strange whitespace stuff that I didn't even think would run. The thing is, it runs just fine. I was wondering if someone could explain what I'm missing. I don't want to copy the exact code, …

Member Avatar for sneekula
0
135
Member Avatar for deathdarts

Hi everyone, I am trying to read off the "System" Event Log of a remote system. I am getting the following error `"Cannot open log System on machine 10.50.212.129. Windows has not provided an error code"` when i try to access the Application log, my application encounters the same error …

Member Avatar for Ramy Mahrous
0
121
Member Avatar for sackymatt

hi there, i have a form in Vb6 and a msacess 2007 database connected using ADODC, on a form is a listbox that i want to populate with the table data from the database, the name of the database is Storenw and the table from which i want to access …

Member Avatar for sackymatt
0
340
Member Avatar for vandenzergen

Hello everyone, I'm still having a problem about saving the [I][B]data values[/B][/I] of an array variable or any variable. You know, every time we run a program the values of the variables can change anytime by means of looping or other inputs that a user might do. All I want …

Member Avatar for LizR
0
156
Member Avatar for t_yalthis

hi everybody, my connection code is like this: Set conn = New ADODB.Connection With conn .ConnectionString = "Provider = Microsoft.JET.OLEDB.4.0; data source = C:\Documents and Settings\kullaniciadi\Desktop\reservation97.mdb; persist security info = false" .Open End With This database (reservation97.mdb) is going to be moved to a server.. How is going to be …

Member Avatar for Comatose
0
668
Member Avatar for jimchong

Hi, I am just start programming by using C# not longer time,there are few thing i don't understand. 1) I have a task that need me to access to the database in the server. Can i know what coding what i should use in the C# webform for me to …

Member Avatar for LizR
0
120
Member Avatar for kodingkarthik

Hi all, I am new to asp.net programming and i have a 2 queries : I am using a web form to allow the user to enter values into a database and i am successful in performing this task. now i have another form for retrieving values from the database …

0
128
Member Avatar for smelf1

Hi all, I am just trying to get the information i collect from the pc's hostname and pass it into a db. All the db passwords, location etc are correct but i am getting nothing. [CODE]Imports System Imports Microsoft.Win32 Imports System.Data Imports System.Data.SqlClient Public Class Form1 Private Sub DB() 'Your …

Member Avatar for Teme64
0
294
Member Avatar for dawnzz21

hello..good dAy.. im Dawn a Fisrt year college student... i and my classmates will be joining a CodeCamp in our school..and it is a 3 days live in activity.. and it is a open source programming contest.... Its all about (JAVA GUI ) i would like to ask a help …

Member Avatar for stultuske
-1
103
Member Avatar for Dav1d1

Hello I try pass data from a table in Firebird to SQL server Mobile. I'm using c# in vs2005, and I have problems with transactions. At the end, if I want to rollback transaction, I would like to undo changes, but in the code I show you, Changes allways saves …

Member Avatar for Ramy Mahrous
0
114
Member Avatar for Teme64

Mozilla Thunderbird offers a very handy "Copy Link Location" option which copies a http-link from an email to the clipboard. For some reason Outlook (XP/2002) does not have this feature. When I right-click a link in the email, I have to select "View Source", open the email's source (HTML) to …

0
118
Member Avatar for Harneet

[url]www.lbnutrition.com[/url] Nothing is showing up. I have revised the index.php code plenty of times. I need help of an expert. Much thanks! ------------------------------------------------------------------------------------ [code=php] <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public …

Member Avatar for almostbob
0
106
Member Avatar for sumit-saini

Hi, Im saving a file in MS Word and when i open it it shows me message to convert the file here is the code i am using Public Sub SaveDocumentAfterValid() Dim fs, f, fc, f1 Dim fbase, fsubfol, fsubfol2, fsubfol3, fsubfol4, fsubfol5, fsubfol6, fname As String Dim fname1, fbase_1, …

0
211
Member Avatar for kinv001

Hello, I have a combo box to select the ID, then it will display the particular record from from the database into the text boxes. And now I'm trying to make a update command button. Then I can just change the record which displaying in the text box. And click …

Member Avatar for Comatose
-1
3K
Member Avatar for vinoth_python

Hi, I'm new to this forum. I need a python test script to open 100 client connections for a web server, say "www.example.com/test/test" without invoking browser. I am trying out this for load testing to create 100 virtual connections to a web server. I have tried with urllib.urlopen(). It fetches …

Member Avatar for mn_kthompson
0
89
Member Avatar for Afi83

Hi There I want to open access from VB6 and join the tables of my database from VB6 and store the value in an array. THis is what i have done till now. but i can't make the query from VB6 with SQL. I don't know what is the problem …

Member Avatar for selvaganapathy
0
102
Member Avatar for serkan sendur

hi, i have been wondering, after the compilation of a textual source file, it is said that it is compiled to ones and zeros, i wonder what are those ones are zeros, are they visible to eyes? for example if i open it with notepad can i display them? if …

Member Avatar for serkan sendur
0
213
Member Avatar for biato

I'm trying to write application run as service in vb6. I have two barcode printers (ZEBRA) with print servers connected to centronics port (D-LINK DP-301P+). In my service i connect to SQL server and get information about destination printer and source code (ZPL) to print. Now i must send my …

Member Avatar for biato
0
276
Member Avatar for amerninja2

I use the Dev-C++ compiler on a Toshiba laptop running on Windows Vista 32-bit. Im good in C++, and I have been learning to use the OpenCV (Open source Computer Vision) library with C++. When I run my C++ app, the OpenCV window that uses GUI freezes up. It shows …

Member Avatar for amerninja2
0
177
Member Avatar for hongpuay

Hey, I face a problem in updating data to the original database. Everytime when I clicked the update button. an error came out in the coding where I highlighted below, saying syntax error in update statement! Can somebody please pin-point my mistake?:'( [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal …

Member Avatar for daviddoria
0
99
Member Avatar for Makjain

On the selection of value from dropdownlist, image is displayed in display page. Selectedvalue has many image in DB say 50+ but as per my query below it reads only 1st image of DB i.e.1st image of database. So do let me know where my code is gng wrong. [B][U]CODE …

0
60

The End.