43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for parthibanrock

how to convert vb.net and sql server 2005 into .exe file the exe file can be run in the another system but it cannot be save the data. the connection string can be errored because my computer name and another computer name is different . how to solve this problem. …

Software Development sql vb.net
Member Avatar for Ashish salve
0
272
Member Avatar for Dendei

Hello, i am programming an API so far i've coded so i can create new customers but my taughts here is that i have a function (i think that is the right word for it) public void writeCustomer (string CustomerNumber, string CustomerOrgNumber, string CustomerName, string PostAdr, string PostAdr2, string GLN, …

Software Development api
Member Avatar for Dendei
0
248
Member Avatar for shahai.ali

hi am using a tab control. in which i have already 3 tabpages. now the problm is that when the form is loaded the first tabepage must be enable while other will be disable to access untill i press the button that first tabpage is contain. is their solution for …

Software Development
Member Avatar for AnnieCalvert
0
1K
Member Avatar for bryceburry

Well, I'm making a tic-tac-toe game in Python **2.7**, and I need a code snippet to "make" the AI want to get a Tic-Tac-Toe, and make the game end if there's a **draw**. What can I do? This is the code as it is: # Python Tic Tac Toe import …

Software Development python
Member Avatar for TrustyTony
0
446
Member Avatar for bladelord76

Hello, everyone! I just have a simple question, I think. I have created three unique classes, and each of these classes use some of the others as member variables. However, because of the way the code is organized, I often receive the error "CLASSNAME is not declared" when trying to …

Software Development c++
Member Avatar for bladelord76
0
266
Member Avatar for ome2012

i just want to know from you guys about the use of finally in Try Catch code????

Software Development vb.net
Member Avatar for ome2012
0
203
Member Avatar for gajoline.marascino

class ThreeException extends Exception { /** * */ private static final long serialVersionUID = 1L; static int count = 0; public static void main(String[] args) { while(true){ try{ if(count++ == 0) throw new ThreeException(); System.out.println("No Exception"); } catch(ThreeException e){ System.err.println("Three Exception"); } finally { System.err.println("In finally clause"); if(count == 2) …

Software Development java
Member Avatar for gajoline.marascino
0
160
Member Avatar for Bumpehh

So, i wanna try graphics, and i was wondering if sfml or sdl is better? I cant find any good tutorials on sfml and its kinda confusing. i havent used sdl so im asking your opinion. and also, **What did you start off with, and why?**

Software Development c++
Member Avatar for Bumpehh
0
125
Member Avatar for Sasquadge

Hey guys I'm having a minor issue here, I'm having an issue with my sterling.cpp in the add functions sterling add(sterling s1, sterling s2) my question is how do I get it to realize when my shillings is > 20 to goto pounds and when my pence is > 12 …

Software Development c++
Member Avatar for Sasquadge
0
1K
Member Avatar for silverastrid

I have read online that the CalendarExtender doesn't trigger a postback when inside an UpdatePanel. My page is similar to this: <UpdatePanel> <ContentTemplate> <UserControl /> </ContentTemplate> </UpdatePanel> Inside the UserControl is a textbox that has a CalendarExtender hooked to it. It causes a postback even to be triggered, so my …

Software Development
0
48
Member Avatar for ayat abukhadra

Hey, I'm using Addins to loop through access forms and create an equivalent to access controls and add them to the active window if it was a form , the only problem I'm facing is my access form language differ's from the default language for windows form application , is …

Software Development vb.net
Member Avatar for Begginnerdev
0
143
Member Avatar for //Gonz

Hello Daniwebbers I have a 2 dimentional control array which gets added to it programatically. There's a lot to add to it but i have already stumbled at the first hurdle. I keep getting the standard "Object reference not set to an instance of an object." error when the first …

Software Development
Member Avatar for nmaillet
0
218
Member Avatar for arabgogs

Hi, I am trying to validate an XML file against a schema, which i can achieve without issue normally, however, in this particular schema, there is an imported namespace, that appears to be preventing the validation from happening, as the error being returned is pointing to node of the elements …

Software Development xml
Member Avatar for Mike Askew
0
262
Member Avatar for mark.scutt.7

Hiya, Andre kindly showed me how to put my points into a listbox and sort in numerical order decending. I need a way, (Perhaps another list box) of adding a string, (Players Name) next to the points after they are sorted so we can clearly see who's first etc. Here's …

Software Development visual-basic
Member Avatar for AndreRet
0
177
Member Avatar for angel06

Hello everybody! I'm currently creating my first employee monitoring system here in Visual Basic 6. I have a problem with regards to my program, it has an error of no value given for one or more parameters. The code that I will show here is just a part of my …

Software Development visual-basic
Member Avatar for AndreRet
0
329
Member Avatar for semicolon

Hello i have a datatable |row|col2|col3|col4|col5| | 1 | val| val| val| val| | 2 | val| val| val| val| | 3 | val| val| val| val| | 4 | val| val| val| val| | 5 | val| val| val| val| | 6 | val| val| val| val| | 7 …

Software Development
Member Avatar for arunkumars
0
333
Member Avatar for london-G

Hi, I don't know what happen all a suden but all my textfiels variable are now underline in red. I have : st.setString(1, t1.getText()); st.setString(2, t2.getText()); st.setString(3, t3.getText()); Where t1,t2 and t3 are my textfields variable name but is says cannot find symbol. Everything was working fine, I don't understand …

Software Development java
Member Avatar for JamesCherrill
0
105
Member Avatar for jalpesh_007

Dear all, I have stuck with one problem. I have taken one Hashmap, Performing some input operation,remove operation on it. So after performing remove operation, i want value of 2 successive key in two different array. Also i want to match 1st key's value with all other keys' value. Like …

Software Development java programming-construct
Member Avatar for JamesCherrill
-1
1K
Member Avatar for Tinnin

Hi all. This regards chapter 6 of "Accelerated C++". The program is intended to scan a document and find all the urls in it. I am testing it with just one string input "text http://www.page.com more text". The program is compiling but doesn't run beyond me entering the input. I …

Software Development algorithm c++
Member Avatar for Tinnin
0
289
Member Avatar for rbsmith333

Having a hard time getting this to work. options = [ 'option 1', 'option 2', 'option 3' ] for x in range(len(options)): Opt = str(x + 1) print('(' + Opt + ')', options[x]) while True: try: playerOpt = int(input('input ')) check = 'fail' for x in range(len(options)): Opt = x …

Software Development python
Member Avatar for rbsmith333
0
195
Member Avatar for Hazuan Nazri

Hello, i got this error when i click my button save. Error: .Net SqlClient Data Provider: Conversion failed when converting datetime from character string. please help me... this is my save button code: Private Sub btnSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim check As Integer Dim …

Software Development sql vb.net visual-basic
Member Avatar for Hazuan Nazri
0
1K
Member Avatar for jim.lindberg1

Hi! I have a beginners problem I really need some help with. First of all, here is my current program: def texten(): filehandle=open ( 'savetonight.txt', 'r' ) text=filehandle.read() return text def smabokstavertext(): texten() print text.lower() I basically want my function smabokstavertext() to call the first function texten() and then print …

Software Development python
Member Avatar for hughesadam_87
0
138
Member Avatar for san.ssj

Hello, Im a student doing my final year mini project and am facing a problem related to searching data in the datagrid. The error im getting is : > Run-time error : '3001' > Arguments are of wront type, are out of acceptable range, or are in conflict with one …

Software Development visual-basic
Member Avatar for AndreRet
0
240
Member Avatar for somjit{}

i want to take the 1st argument from commandline, ie argv[1] and assign it to a `char target[80]` i know im making some very stupid beginer mistakes... but just cant understand what :( this is my code: #include <stdio.h> #include <string.h> void converge(char *targ, char *src); int main(char *argc[],char *argv[]) …

Software Development c
Member Avatar for somjit{}
0
4K
Member Avatar for crishein14

Can anyone HELP me for my problem .. Im a newbie in python ! I want to create a script to rename files in a dir. that dir has 400 files .png .. startswith 001.png , 002.png to 400.png ! I want to rename them startswith 000.png to 399.png .. …

Software Development python
Member Avatar for M.S.
0
174
Member Avatar for Sahil89

Hi, How can I detect new line from string. I tried Environment.NewLine but its not working. Initially I tried to replace it directly but it was not working after I tried to detect new line. Then I came to know that its not detecting new line. As temporary solution I …

Software Development vb.net
Member Avatar for Sahil89
0
3K
Member Avatar for rbsmith333

I'm trying to figure out how to use '%s'. I looked it up in the python docs but it never actually shows how to use it. This is the line I'm working on right now just to figure it out. It is the first one of different variations where the …

Software Development python
Member Avatar for rbsmith333
0
1K
Member Avatar for rahul.ch

import java.io.*; public class Mac extends Laptop { public static void main(String r[]) { new Mac().crunch(); } //insert code here } class Laptop { void crunch() throws IOException { } } The question is simple. Insert a code that will make the program compile. Answers are: `void crunch()` or `void …

Software Development java oop
Member Avatar for NormR1
0
217
Member Avatar for Pyler

I use dr java for linux to run my code. I've been running into a bunch of errors recently while running this simple program. The code compiles fine but whenever I run the java file, I get the error; Static Error: Undefined name here's my code; (I've got two files, …

Software Development java ubuntu
Member Avatar for TrustyTony
0
2K
Member Avatar for steveincolorado

Hi I am trying to write a small C++ program using nested loops so that when the program executes I have the following output displayed [code]** **** ****** ******** ********** ************[/code] Here is the code I have written. I seem to be having a problem with proper loop execution. I …

Software Development c c# c++
Member Avatar for maaz0088
0
399
Member Avatar for nyquist

Hi, i need to create a binary matrix (one which elements can only be 1 or 0) in openCV. The nearest that I was getting is creating a matrix which elements are 8-bit values using the CV_8UC1 dataType. There must be another dataType which specifies that the matrix elements are …

Software Development c++ matrix-multiplication
Member Avatar for vijayan121
0
6K
Member Avatar for tspga

i have tried hard but dont know wy im getting this error , error comes in line 8 class CPop { CBSVector<CTour> pop; CBSVector<double> probability; int popsize; double TotalFitness; CTour Elite; **CTspGAParams GAParameters;** } error C2059: syntax error : 'constant' error C2238: unexpected token(s) preceding ';' [POP]// Pop.h: interface for …

Software Development c++
Member Avatar for tspga
0
168
Member Avatar for TheSkunkMan

I've playing with pygame a little and reading about it and i tried to make a simple rock paper scrissors game. I can't seem to get fullscreen working. Everything i've tried or read didnt work. Can u please help me? thanks

Software Development python
Member Avatar for alexpinho98
0
3K
Member Avatar for gelmi

Is there anyway on how can i get a more accurate coordinates? i'm doing a project for our school, the problem is i dont know how to get the right coordinates that i would like to create. Thanks in advance :)

Software Development java
Member Avatar for JamesCherrill
0
110
Member Avatar for ayat abukhadra

Hey, I want help guys ! I'm trying to create some kind of user control to be used as mdi container, I'm trying to create something like access form where you can create a subform within a form and then load another form into this subform. can anyone guide me …

Software Development vb.net
Member Avatar for ayat abukhadra
0
100
Member Avatar for akasekaihime

Can anyone teach me how to remove the background image in the form? i am trying to create a system that willn change its background color using option buttons but with the background image in place, the change in back color is not visible........ Please help me. Your immediate reply …

Software Development html-css image visual-basic
Member Avatar for debasisdas
0
559
Member Avatar for cmstoner

Hi all, In the program I'm working on, I am making a form that submits data to an Access 2007 database. I can connect to the database fine and run a select query, but when I try an insert query I get an error: "statement contains the following unknown field …

Software Development sql vb.net
Member Avatar for kRod
0
281
Member Avatar for BluePaper

Through using Visual Studio to learn more about ASP.net and VB.net I would like to connect to a database. I create an .mdf database file but I've no idea how to connect to it (well, I have some code below...) that's not my only problem but I'll ask the next …

Software Development asp.net open-source vb.net visual-studio
Member Avatar for Reverend Jim
0
5K
Member Avatar for Divinedar

Not sure if this can be done. There are word files in a directory with all familiar names. i.e. fr001, fr002, fr003, etc... all with the extension .doc. I would like to know is there a code that will link an excel file to a directory and then be able …

Software Development microsoft-office perl visual-basic
Member Avatar for Divinedar
0
288
Member Avatar for theguitarist

Hi. I have some trouble understanding the linking process and hence this related question. Lets say I need a global variable that is needed by every single source file in my project. I would create a `constants.h` header and put `extern const int var;` in it. In corresponding source, `constants.cpp`, …

Software Development c++
Member Avatar for mike_2000_17
0
6K
Member Avatar for cyberdaemon

Good day, Is it possible to create a simple entity framework system withou using DAL? or maybe context? direct connection? let say, i want to extract all my record in gridview. //assume that this is my formload protected form_load() { if(!isPOstBack) { getAllRecord(); //mymethod to call the data taht will …

Software Development
Member Avatar for cyberdaemon
0
177
Member Avatar for im abcd

I have just started learning java and made an first mathematical interactive program which I wanted to distribute with my friends . But I am unable to run the .jar file . I do the following , I click on export - Runnable.jar - Main.class and select the other options …

Software Development java
Member Avatar for im abcd
0
467
Member Avatar for venomxxl

Hello I'm not new to C++ programming, but I have a question for you guys and gals :) So the code below compiles fine (due to that ugly workaround in main func), but that makes d_copy.field2 unitialized (0xCC bytes in MSVC). How would you change the code to make d …

Software Development c++
Member Avatar for venomxxl
0
121
Member Avatar for godzab

I am not sure how to explain this so I will give an example. If I were to have two arrayList like the one listed below: ArrayList<String> java = new ArrayList<String>(); java.add("1"); java.add("2"); java.add("2"); java.add("4"); ArrayList<String> lava = new ArrayList<String>(); lava.add("0"); lava.add("2"); lava.add("5"); lava.add("4"); how would i remove the duplicates, …

Software Development java
Member Avatar for JamesCherrill
0
294
Member Avatar for ctrl-alt-del

Good evening all, Currently I am working on a program that will automate the backup/restore jobs at the place I work. The rough work has been done, but I am somewhat concerned about the possibility of massive IO operations due to the way my program works. Here is the scenario: …

Software Development
Member Avatar for ctrl-alt-del
0
243
Member Avatar for MattBerry

Hi, I wonder if anybody can set me straight as I am having a hard time understanding what is going on with INotifyPropertyChanged. My understanding of the events are: 1> Have a window with 2 textfields and a button 2> Create an instance of the Employee object 5> Bind both …

Software Development
Member Avatar for MattBerry
0
207
Member Avatar for bprosic

Here is a picture of a form. http://postimage.org/image/a813nony5/ Please help: I have a form with: - 4 textboxes (textbox 11,21,311 & 41) - 4 buttons (add, delete, save, refresh) - 1 DataGridView (MS Access database connected) - 1 filter to filter the data through DatagridView Here is the story: When …

Software Development seo vb.net
Member Avatar for bprosic
0
2K
Member Avatar for VernonDozier

Someone a few months ago told me that I had to change a bunch of code from stuff like this... // config_options.h // define _FOO if and only if you want option foo to be available #ifndef _FOO #define _FOO #endif // main.cpp #include "config_options.h" #ifdef _FOO void foo() { …

Software Development c++ ide visual-studio
Member Avatar for VernonDozier
0
789
Member Avatar for np complete

How am I supposed to take input/catch CTRL+C or CTRL+V commands ?

Software Development c++
Member Avatar for WaltP
0
295
Member Avatar for triumphost

Why is C++ on linux basically C? I've tried everything to avoid C on linux but it's simply near impossible. I've tried to stick directly to the standard library but I somehow find myself using dirent.h, types.h, etc.. Is there any other ways to do these other than using C …

Software Development c c# c++ ubuntu
Member Avatar for deceptikon
0
765

The End.