25 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for khair.ullah

Hi every one . Recently i complete my project on libraray managment system which work perpectly on my system. Now the problem is that when i Execute my project on other system it show error at con.open i.e it mean that connection string not set in this system . Now …

Member Avatar for Muhammad_113
0
5K
Member Avatar for kentuckyjoe

I'm trying to iterate through the controls on a form and set the tabIndex to 0 for all labels. I copped the following code from google but it doesn't work for me and I'm pretty certain it's because all of my controls are on a panel and not on the …

Member Avatar for kentuckyjoe
0
261
Member Avatar for Thermalnuke

HEy guys, I got possible a stupied question but i was wondering... if you are useing microsoft runtime on all of your clients computer in a office of like 150 clients. If i put a package together with MS runtime and current databases will runtime be able to to automaticlly …

Member Avatar for Thermalnuke
0
163
Member Avatar for james.lu.75491856

Traceback (most recent call last): File "C:/python files/USACO/crazy/crazy.py", line 87, in <module> grid.plot(x,y,"F") File "C:/python files/USACO/crazy\grid.py", line 63, in plot self.g[(x,y)] = replace TypeError: unhashable type: 'list' You see, I'm hashing a string with the key bing a tuple. This is using my own 2d grid data structure.

Member Avatar for james.lu.75491856
0
570
Member Avatar for vijaycare

Hi All, I would like to thank this community for the enormous help to develop my skills. Thanks. I have 2 databases and a single report form and a crystal reportviewer. The User can select the database which he want to work (Each of them belongs to different warehouse) So …

Member Avatar for john.knapp
0
463
Member Avatar for sonu611

Hi all, I was looking for a way to execute windows batch file from java code, and I was able to do this with the following code. [CODE] Runtime rt = Runtime.getRuntime(); Process proc = rt.exec("cmd /C " + "path" +exec.bat"); [/CODE] The batch file refers to some other files …

Member Avatar for shahbaz07dbit
1
1K
Member Avatar for Riteman

Well, I have managed to create controls during runtime. Dim Rbut As New Button() Dim Lbut As New Button() With Rbut .Location = New Point(590, y + 15) .Text = "Remove" .Name = FontName(ListBoxCount) End With With Lbut .Location = New Point(590, y + 45) .Text = "Lock" .Name = …

Member Avatar for Riteman
0
305
Member Avatar for tahsin.rahit

This code is giving me runtime error. Here, first I want to take a integer input which determine the number (n) of nodes in the graph. Then for n-1 time I want take two integer input which will give the adjacency information. [CODE] #include <set> #include <map> #include <list> #include …

Member Avatar for mike_2000_17
0
244
Member Avatar for dakaboguy

Im trying to select data from a MS access database, i have done this for SQL server before with no problem, but now with a Access database i get a run time error for "No value given for one or more required parameters". Below is my code [CODE] Private Sub …

Member Avatar for dakaboguy
0
1K
Member Avatar for symeramon
Member Avatar for v_janssens

I have a class Node and want to declare an initially unknown number of instances of this class at run-time. First the program determines the number of nodes (num_n) from the user and then I want to define num_n objects. I have crudely got around this by defining a maximum …

Member Avatar for alwaysLearning0
0
209
Member Avatar for SoulReaper1680

Hey, I have four labels in a form: label1, label2, label3, and label4. Now, if this was VB.NET, I would have used the following code to change their contents without having to type the code for each one separately: [CODE]For I = 1 To 4 Me.Controls("label" & I).Text = "Some …

Member Avatar for SoulReaper1680
0
385
Member Avatar for Muhammad Anas

Hello guys, I am trying to declare a two dimensional array in C++ on runtime. For this purpose I am asking the user about how many rows and columns should be created in the array. I have written the following code for this purpose. Apparently it is working just fine. …

Member Avatar for Muhammad Anas
0
154
Member Avatar for Hellborg

hello there, i have a problem, it might be trivial but i cannot for the life of me understandw what is causing it. so i have a numeric updown and based on the value, it loops and creates as many txtboxes as the value in hte numupdown. and then i …

Member Avatar for Mitja Bonca
0
183
Member Avatar for Robbie Y.

Hey guys! I'm trying to write a program that involves a switch/case on Microsoft Visual Studion 2010. Unfortunately, some of my variables are not being initialized. I am a very novie programmer so please have mercy on me! Two of my options (1,4) are working but options (2,3) are not. …

Member Avatar for Robbie Y.
0
168
Member Avatar for scarlettmoon

Hi ~ I am getting a strange [B]RunTime Error[/B] while debugging my code. Run-Time Check Failure #2 - Stack around the variable 'player' was corrupted. Code is below. Would love some help on this one. Thanks. ps ~ I realize that system("pause") is frowned upon but it is what we …

Member Avatar for scarlettmoon
0
129
Member Avatar for satti

am facing an error 'Run time error:424 Object required, Private Sub Form_Load()iam highlighting the error in code below. [CODE]Private Sub cmdAddEntry_Click() ' add a new entry to our table. With DataEnvironment1.rsDataTable .AddNew !CodeNo = txtCodeNo !DealerName = txtDealerName !TruckNumber = txtTruckNumber !Quantity = txtQuantity !NetPrice = txtNetPrice !Commision = txtCommision …

Member Avatar for satti
0
198
Member Avatar for Aelphaeis

Essentially, my problem is that I have a program that dynamically creates controls. The Controls included are buttons and on click I want the buttons to remove themselves and all related data. The problem is I'm not sure how to identify the buttons from within the delete method. The important …

Member Avatar for Aelphaeis
0
190
Member Avatar for Timmo987

Hi! I need to be able to change the location of the database at runtime through a menu in my program. My question is how to best achieve this. If for example the ip to the server change, the user need to be able to update the database path; i.e. …

Member Avatar for Timmo987
0
184
Member Avatar for deepak_1706

In my Forms application i tried to resize a pictureBox control during runtime and it seems to give some trouble. There is scale factor scalex , scaley which i applied to the width and height property of the control. [CODE] tempw = 980.0f; temph = 130.0f; tempw = float.Parse(pictureBox1.Width.ToString()); temph …

Member Avatar for deepak_1706
0
133
Member Avatar for Tweed

I have a form that creates a row of checkboxes depending on the type of analysis the user wants to perform on the incoming file. I need to be able to determine if the checkbox is "checked" but I don't know how to do that when the controls are created …

Member Avatar for Tweed
0
1K
Member Avatar for leiger

Python works fine in the console, but I'm having problems using python in a Java program. In case someone here has any ideas, I'm posting a link back to my original post (please reply there and not here): [url]http://www.daniweb.com/forums/post1246152.html#post1246152[/url] Thanks!

Member Avatar for leiger
0
149
Member Avatar for zismad

Hi all, i need a 26 rows by 8 colums check boxes table. i get the number of rows from a data base so i prefere to create the check boxes at run time. the thing is it takes something like 10 seconds on my powerful computer to draw them …

Member Avatar for zismad
0
178
Member Avatar for reid1

I restarted my computer and bootup to desktop was extremely slow...it took about 5 minutes to display. I received a Microsoft C++ Runtime error message with the following path. Program:...es\common files\RoxioShared\9.0\SharedCom\RoxWatch9.exe I thought that it may be associated with RealPlayer SP that I downloaded about a month ago so I …

Member Avatar for reid1
0
756
Member Avatar for DarwinRock

I need to load a single jpg image to a windows form at run time. file name / path is a given. Any insight on how to do this?

Member Avatar for DarwinRock
0
151

The End.