132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mikidrip

I am new to VB, and have attempted to load all the free versions of the SQL available. Dispite many go's I still can not make any work. I go through the motions of including a database into my programs but I keep geting a long delay then "Unable to …

Software Development sql vb.net
Member Avatar for Papa_Don
0
190
Member Avatar for spuriousgeek

I have been plagued by an issue for the past couple of days and I am yet to find a solution. I have an service installed at several customer sites. This service grabs data from a database, packages it up and then submits it to a web service hosted on …

Software Development api
Member Avatar for Maligui
0
295
Member Avatar for ryan.jay.ong
Member Avatar for krystosan

books = { 'Contact':['Carl Sagan', '2'], 'End of Faith':['Sam Harris', '7'], 'on Mars':['Patrick Moore', '1'], } based on dictionary above, how can i get Modales Qdialog box that should have 3 column containing like below DialogBox BookName_Label: BookAutor_Label : Quantity_QSpinBox BookName_Label: BookAutor_Label : Quantity_QSpinBox BookName_Label: BookAutor_Label : Quantity_QSpinBox Ok Cancel

Software Development python
Member Avatar for bnn678
0
274
Member Avatar for tirthajust4u

Hello gurus: I saw the discussion related on working with words with python which is: import win32com.client wordapp = win32com.client.Dispatch("Word.Application") # Create new Word Object wordapp.Visible = 0 # Word Application should`t be visible worddoc = wordapp.Documents.Add() # Create new Document Object worddoc.PageSetup.Orientation = 1 # Make some Setup to …

Software Development python windows-api
Member Avatar for bnn678
0
432
Member Avatar for 26bm

Hi, I have created a program that follows a line blitted on a surface called 'screen'. I have created a function in a different file to do so and have imported it into my main file like so: from Follow_Ground import Follow_Ground The code in the file 'Follow_Ground.py' looks like …

Software Development python
Member Avatar for bnn678
0
178
Member Avatar for Gebby

I used VB6 some years ago and need to buy it again for a new computer. Is VB.Net the one to buy and is it really free? I just want to do some programming to create and check puzzles I'm writing. Gebby

Software Development vb.net
Member Avatar for Ancient Dragon
0
444
Member Avatar for Van_1

Hi. I just got a problem running my graphics program written using C language in DOS Box. There may seem a problem using the graphics.h running through DOSBox in Windows 7 ultimate 64bit. The program just flickers fasts when I run it. I know that my program is correct and …

Software Development c
Member Avatar for N1GHTS
0
407
Member Avatar for sumdumhoe

Apperently there is an undeclared identfiier "stdprn". Please help /* PRINT_IT.C-This program prints a listing with line numbers! */ #include <stdio.h> void do_heading(char *filename); int line, page; main( int argv, char *argc[] ) { char buffer[256]; FILE *fp; if( argv < 2 ) { fprintf(stderr, "\nProper Usage is : "); …

Software Development c
Member Avatar for Ancient Dragon
0
200
Member Avatar for sonunclejalil

my problem is i want to show the picture from folder to image box but it need to find what picture depends on text box, If Right(filStudent.Path, 1) = "\Picture\" Then imgS = filStudent.Path + txtFind Else imgS = filStudent.Path + "\Picture\" + txtFind End If imgStudent.Picture = LoadPicture(imgS) but …

Software Development image visual-basic
Member Avatar for Minimalist
0
263
Member Avatar for christan

Greetings, i'm having a problem on inserting all my items from listview to my database using stored procedure. heres my code. Dim lvItem As ListViewItem For Each lvItem In ListView1.Items With dbComm .AddParameter("@details", lvItem.Text, SqlDbType.VarChar) .ExecuteStoredProcedure("insertRecord") If .Success = False Then MsgBox("Record failed to save.") Else MsgBox("Record Saved.") End If …

Software Development listview sql vb.net
Member Avatar for pawanthenerd
0
238
Member Avatar for Jeffrey_1

I copied a list into Excel and some of the list formatted into the neihgboring columns instead of lining up in the list. I need to get the items floating out in the columns back into the proper place in the list. I assume I need to somehow run a …

Software Development visual-basic
Member Avatar for Stuugie
0
367
Member Avatar for nitish.mohiputlall

I am having 4 errors with the main program and i dn't know how to slove it anyone to help me how to solve the errors and how the codes was suppose to be correctly typed: 1.error: 'salaried' was not declared in this scope (line 5) 2.error: expected primary expression …

Software Development c c# c++
Member Avatar for Moschops
0
2K
Member Avatar for Sanjeetjmp
Member Avatar for Ancient Dragon
0
219
Member Avatar for tessa.burkhalterblackmon

I need help fixing my code. I'm getting the following errors: 107 C:\Dev-Cpp\TicketFineCalculator.cpp no matching function for call to `TicketFineCalculator::getFine(int&)' and note C:\Dev-Cpp\TicketFineCalculator.cpp:20 candidates are: int TicketFineCalculator::getFine(int, int, int, int) Here is my code: #include <iostream> //allows program to perform input and ouput #include <string> //allows string using namespace std; …

Software Development c++
Member Avatar for Ancient Dragon
0
2K
Member Avatar for javed.iqbal.3979

Hi all, I am working on Bank Management System,,i wanna connect my programm to MySql Can anyone refer me Book(s)/links where i can learn so...i have know how of Mysql already and worked on it

Software Development c++ mysql
Member Avatar for Ancient Dragon
0
163
Member Avatar for yoyo.albeatiy

Hi every one i have a problem with this program the conslo window disappear automatically without waiting , Im using return 0; function but it does not work

Software Development c++
Member Avatar for saharsweeto
0
175
Member Avatar for Mr.M

Hi Dw I'm creating a program which I want to check if the normal and also a hidden folders exist or not and if exist delete it.

Software Development vb.net
Member Avatar for fourty
0
232
Member Avatar for aabbccbryanmark_1

Private Sub txtPassword_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtPassword.KeyPress Dim NotAllowed As String = "~`@%^&+={[}]()!:,;'><?/|\-.#+()_$*" If e.KeyChar = ChrW(Keys.Enter) Then e.Handled = True End If If e.KeyChar <> ControlChars.Back = True Then If NotAllowed.IndexOf(e.KeyChar) = -1 = False Then e.Handled = True End If End If End …

Software Development vb.net
Member Avatar for Atove
0
2K
Member Avatar for victorkvarghese

Hii, Can anyone provide me the python code for finding a number that is stored in a file . The file contains 1 lakh numbers!! And i want a python code that searches the file and find the desired element!!!! Both linear search and binary search!! i'm a python beginner!!!! …

Software Development python seo
Member Avatar for slate
0
3K
Member Avatar for Start4me

I have a radio button and a listbox. After clicking on the radiobutton, a collection of items will be added into the listbox. I'm trying to go back to the collection I've started working on to edit a System.Collections.Specialized.StringCollection, but after running the program, the list of items has not …

Software Development vb.net
Member Avatar for G_Waddell
0
354
Member Avatar for dennysimon

hello all I wonder how to fill datagridviewimagecolumn with an icon. I mean if I place cursor in rows[2],Cells[3] and then i press right mouse down,then certain icon placed in that cells if I place cursor in rows[4],cells[3] and then press left mouse down,then another certain icon placed in that …

Software Development
Member Avatar for brianmanee
0
2K
Member Avatar for mansi sharma

I want to fill GridView ,But i dont want to use datasource..I want to use the method,thru which i add the data using row by row As in VB.net [code] Dim row0 As String() = {"A","B","C"}; Me.DataGridFile.Rows.Add(row0) [/code]. [code] public partial class refresh : System.Web.UI.Page { string query; SqlCommand cmd; …

Software Development c# dataset open-source vb.net
Member Avatar for brianmanee
0
1K
Member Avatar for asmaa_4

I Want to know that what the difference between int and longint is Although they have the same siza (4 bytes)

Software Development c c# c++
Member Avatar for yasir prince
0
114
Member Avatar for cascade001

what i am trying to do is make a program to read an excel file that i already have , choose certin columns depending on its header title then paste these columns into sheet2 . the problem is when i check for the columns i want to extract it gives …

Software Development microsoft-office vb.net
Member Avatar for julio.azevedo.562
0
3K
Member Avatar for sireiz

We want to make a software with our neighborhood map and roads with directions. What would be the best way to do it? Its a university project. Platform would be Android and windows.

Software Development android-development c++ microsoft
Member Avatar for rubberman
0
192
Member Avatar for radium61

I am trying to bind data to my DataGridView. (However, this is the easy explanation.) Background on what I am trying to accomplish: I have a rather large program here. This part of the code uses a DataGridView to display the data I have read and parsed (from another program …

Software Development vb.net
Member Avatar for radium61
0
2K
Member Avatar for Doogledude123

I created a custom 'text menu' that should print each String passed to it. This is the class: package com.github.geodox.areacalculator.menu; public class Menu { private static int index = 0; private static String[] menuItems; public void addItem(String menuItem) { menuItems = new String[index+1]; menuItems[index] = menuItem; index++; } public void …

Software Development github java
Member Avatar for Doogledude123
0
259
Member Avatar for matt55284

Just started learning c++ and ive got a bit stuck :L Im making a console application that injects a file into a process. The file name and process name are both specified at the start of the code using char FileToInject[] = "File_Name.xxx"; char ProcessName[] = "Process_Name.exe"; The console works …

Software Development c++
Member Avatar for rubberman
0
354
Member Avatar for kent.johnstone_1

Is this a "typedef" problem? This is the definition in one file. typedef BYTE SOCKET; //Socket descriptor BYTE is defined elsewhere as type char. (I made sure the file where SOCKET is assigned a type is included in the file the problem is in.) This is one place it is …

Software Development c
Member Avatar for kent.johnstone_1
0
330
Member Avatar for nhrnjic6

func should take array and find a index of a target number : int find_index(int num,int Niz[],int index){ if(num == Niz[index]) return index; else if(num != Niz[index]){ find_index(num,Niz,index++); } else {return -1;} } I quess I know am accesing unacesable memory, just cant figure out where

Software Development c++
Member Avatar for Ancient Dragon
0
124
Member Avatar for mokushirokuxen

![7d2f0b828b7075213b3cc4ce79ce21d1](/attachments/large/4/7d2f0b828b7075213b3cc4ce79ce21d1.png "7d2f0b828b7075213b3cc4ce79ce21d1") i have 2 database listview1(from tbl_storage) listview2(fromsales) so i want my listview items and subitems to be increment or be loop correct me if im wrong with that. sellingprice and Qty.(Quantity) ex. itemno | name | qty| price | total | 1 | a | 1 | 100 …

Software Development listview vb.net
Member Avatar for mokushirokuxen
0
457
Member Avatar for CodingCabbage

I wish to use parameters in a class to change what the class displays how would this be done?

Software Development oop python tkinter
Member Avatar for rrashkin
0
275
Member Avatar for CoilFyzx

Oh boy They ust be tired of me now. My trouble: I have two ArrayLists of custom classes. ``ArrayList<Subject>` **a**` ``ArrayList<Student>` **b**` Within those custom classes are other custom classes which themselves have primitive data types as well as an ArrayList of other custom classes. It's a big circus going …

Software Development java xml
Member Avatar for JamesCherrill
0
568
Member Avatar for dev90

Hello, I am new to visAD library. I am trying to plot a 'lowerTerrain.nc' file in visAD. But its longitude(-180 to +180) and latitude(-80 to +80) ranges are displayed automatically in -150 to +150 for longitude range(X axis) and -90 to +90 in latitude range(Y Axis). I have tried this: …

Software Development java
0
125
Member Avatar for babyluxe03

hello! im trying to make my own stack program in c++. but my code doesnt seem to work. I got 6 errors, been trying to figure out what are those and how to solve it but theres no progress. Can somebody help me with my project. I would greatly appreciate …

Software Development c++
Member Avatar for Moschops
0
315
Member Avatar for Rahul47

I have already done some Assembly programming using Turbo Assembler. So recently i downloaded MASM32 but i was unable to link and execute my programs. Is there anyone out there who can suggest a way to link and execute using a simple Hello World! Program ? Thanx

Software Development assembly
Member Avatar for Rahul47
0
1K
Member Avatar for sana.f.qureshi_1

hello good people, i am trying to make a small program that takes input from 4 text fields and adds them to the database(i am using mysql through wamp server) and some other database operations. my Exit and Clear buttons are working. I am using Swing class but have done …

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
221
Member Avatar for mexabet

I'm creating a basic C program that I want to accept both positive and negative inputs. However, as it is it doesn't accept negative inputs. Any help on how to fix it will be much appreciated. here is the code: int main(void){ // Here we declare integer and floating point …

Software Development c
Member Avatar for mexabet
0
308
Member Avatar for CodingCabbage

I have these few lines in a class in my program but it doesnt appear. No errors are shown and when i "print(menubar)" and address "0.4.." or "4..." appears menubar = Menu(master = self.mainGUI) fileMenu = Menu(menubar) fileMenu.add_command(label="Exit", command= destroyMethod) menubar.add_cascade(label="File", menu=fileMenu) destroy method does work and is existing.

Software Development oop python tkinter
Member Avatar for CodingCabbage
0
308
Member Avatar for Start4me

I want to make and If statement which will work when a double "credits" is between 1 and 9. But I'm not sure how to. Will If (1 <= credits => 9) Then Work?

Software Development java programming-construct
Member Avatar for JamesCherrill
0
315
Member Avatar for y0yie_333

i now able to save the fingerprint directly to database using this code... Dim fingerprintData As MemoryStream = New MemoryStream Template.Serialize(fingerprintData) fingerprintData.Position = 0 Dim br As BinaryReader = New BinaryReader(fingerprintData) Dim bytes() As Byte = br.ReadBytes(CType(fingerprintData.Length, Int32)) Dim cn As SqlConnection = New SqlConnection("Data Source=.\SQLEXPRESS;Initial Catalog=dataBEST;Integrated Security=True;Pooling=False") Dim cmd …

Software Development open-source vb.net visual-basic
Member Avatar for abelingaw
0
484
Member Avatar for jared.geli

Hi guys I'm having a problem in opening excel files using the workbook.open for me to save all the changes made by oledbcommands. Dim MyConnection As New OleDbConnection("provider=Microsoft.ACE.OLEDB.12.0; Data Source='" & path & "'; Extended Properties=Excel 12.0;") MyConnection.Open() Dim i = 0 Dim h = Label1.Text Do 'Dim q = …

Software Development file-system open-source vb.net
Member Avatar for jared.geli
0
681
Member Avatar for pspwxp fan

Hello Daniweb, I am creating a project (using NetBeans for GUI) for my Data Structures and Algorithms course. The gist of it is as follows: -Take 7 letters as input -Display a valid word as output (And later, when this issue is hopefully resolved, several words) Basically a software one …

Software Development algorithm gui java legal linked-list
Member Avatar for iamthwee
0
595
Member Avatar for rbyrd

The listing below draws a dot wherever the mouse is clicked on the panel, but it seems to work only if *both* lines self.panel.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown) wx.EVT_LEFT_DOWN(self.panel, self.OnLeftDown) are included. If one or the other is omitted the dot doesn't appear until the next mouse click (so the locations of the …

Software Development python
Member Avatar for rbyrd
0
248
Member Avatar for stich

Hi, i'm a beginner to computer programming and I feel like I didn't learn anything in college. I got my associates in science and I don't know from where to start orwhat language to choose. Does everybody go through this stage before they become good programmers?

Software Development python
Member Avatar for pritaeas
0
212
Member Avatar for hariza

Hi guys, If i have a file like the one below what would be the best/easiest way to sort the words in alphabetical order. thanks. with an equal mix of biosolids to make the compost Sawdust is on their greens Compost applied properly will enhance growth of grass flowers shrubs …

Software Development c++
Member Avatar for Ancient Dragon
0
2K
Member Avatar for hail2dthief

I'm using visual c++ compiler and I want to change the text color in my c++ dos program. What choices do I have if i don't wanna use system function (example: system("color 0a"))?

Software Development c++
Member Avatar for Ancient Dragon
0
23K
Member Avatar for 0914541592

2. An integer greater than 1 is said to be prime if it is divisible by only 1 and itself. For example, 2, 3, 5 and 7 are prime numbers, but 4, 6, 8 and 9 are not. a) Write a function that determines whether a number is prime. b) …

Software Development
Member Avatar for humorousone
0
323
Member Avatar for jkvt

Hi, I have a VBA script that places WinForm dropdown boxes (xlDropDown) into an excel workbook dynamically. For some reason, on the 17th box (called "INCL" & i + 1 in the code below), the data type of the placed shape becomes msoAutoShape instead of msoFormControl. All of the following …

Software Development microsoft-office visual-basic
Member Avatar for Stuugie
0
497

The End.