132,726 Archived Topics
Remove Filter ![]() | |
I have recently converted my old project based on C#.NET to my new V.Studio 2010, the project was first created using .NET framework 2.0. In my designer mode within VS2010, all combo boxes, buttons etc. look new (like windows xp button/vista/7 application buttons). however, whenever i debug or even release … Software Development windows-vista | |
Hi Guys i am trying to insert xml file in database but i am getting this error text/xmldecl not at the beginning of input.Can anyone tell me how to fix this. thanks Software Development xml | |
Hello, I am trying to create a new sub directory in an all ready created Folder. What happens is that when files are transferred from one directory to another it creates a sub directory everytime and places the files into it. I have got the part working for the creation … Software Development | |
I can show information by specific ID there in crystal report by following code. Code : [CODE]Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Public Class Form6 Inherits System.Windows.Forms.Form Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Dim cryRpt As New ReportDocument 'cryRpt.Load(Application.StartupPath & "\CrystalReport5.rpt") 'CrystalReportViewer1.ReportSource = cryRpt 'CrystalReportViewer1.Refresh() Dim … Software Development vb.net | |
Hi Guys i'm writing a macro in excel that need a down arrow send at one point. Below is the script Sheets("1").Select Range("A4").Select Selection.End(xlDown).Select Sheets("2").Select Range("A4").Select Range(Selection, Selection.End(xlDown)).Select Range(Selection, Selection.End(xlToRight)).Select Selection.Copy Sheets("1").Select ActiveSheet.Paste Selection.End(xlDown).Select SendKeys ("DOWN") ' I need to send the down arrow here' How do i do it … Software Development vb.net | |
G'day all... I know there's a sticky in this forum for books that are recommended as C++ references from newbies to advanced coders. What I'm wondering is this... What are the online resources you [B]most[/B] recommend for C++ coders? What I'm looking for are those resources that are so useful … | |
This is the code wrote so far.. I'm new to Cprograming. please help thank you! [CODE]#include <stdio.h> #include <stdlib.h> #include <conio.h> //Compute f(n)=n!, for 0<=n<=100 void f(int n){ // Adjust the array a so that each array element contains a single // digit without altering the number represented by the … Software Development c | |
class C{ public static void main(String a[]) { int i1=9; int i2; if(i1>3) { i2=8; } System.out.println(i2); }} Software Development java | |
I can't seem to disable dynamic linking. How do I do this? I've tried the following: [CODE]babbage-dasnyder 19% mips-unknown-linux-gnu-g++ -static -static-libgcc hello.cpp babbage-dasnyder 20% file hello hello: ELF 32-bit MSB MIPS-I executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.18, dynamically linked (uses shared libs), not stripped[/CODE] But as you can … | |
Hi i'm developing an app where i'm reading a value from a device and putting it into a mysql db, i have setup a function where the vb will calculate whether the new value being read has changed by 3% from the last value and if it has run the … Software Development vb.net | |
Hi everyone. I've got to do a program in assembly and I'm a newbye. I'm studying and trying but there is always some difficulty. I'm using x86 language (16bit), I'm programming with ConText (actually I found this assembly enviroment on an italian website and I don't set anything) I've got … Software Development assembly | |
I am learning wxWidgets to break free of console programming. I use Dev-C++, and I have installed all necessary DevPaks, and everything should work fine, except when I try and compile this code, I get: [Linker error] undefined reference to `WinMain@16' ld returned 1 exit status C:\Dev-Cpp\Makefile.win [Build Error] [Testing.exe] … Software Development c++ | |
Hello friends, I have a small problem with printing/getting exceptions in 3.1 version. My code is: [CODE=Python] try: # bla bla... except Exception, e: # here I got error message "Invalid Syntax" in the comma self.setError(e) return False [/CODE] What is the correct syntax in python 3.1 to get the … Software Development python | |
I can show information by specific ID there in crystal report by following code. Code : [CODE]Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Public Class Form6 Inherits System.Windows.Forms.Form Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Dim cryRpt As New ReportDocument 'cryRpt.Load(Application.StartupPath & "\CrystalReport5.rpt") 'CrystalReportViewer1.ReportSource = cryRpt 'CrystalReportViewer1.Refresh() Dim … Software Development vb.net | |
Hi all, I am using Java Servlets with XML and XSLt, I am getting the values from text area in XSL , the value is using Escape method in Javascript. The code is Like [code] src = frm.txtFeedBackDsc.value; src=rtrim(src,' '); src=ltrim(src,''); dest= escape(src); frm.hsFeedbackDsc.value=dest;[/code] And the Value is stored in … | |
Hi everyone, I am using TC 3.0 . I'm getting an error as.. BGI error:graphics not initialized. But I've used initgraph. So, i thought i'll use this [CODE]/* read result of initialization */ errorcode = graphresult(); /* an error occurred */ if (errorcode != grOk) { printf("Graphics error: %s\n", grapherrormsg(errorcode)); … Software Development c | |
Iam Having three dropdown lists named Department,StaffID,StaffType,textbox Name and one submit button...If I select Department as BEMechanical and click the button i have to get all the details regarding that branch and if i select Department,StaffID,stafftype and name i should get the details of the selected one.Any one plz help … Software Development display | |
hi, i have create a program in C# windows application with backend SQl Server 2005. I have a done coding for save, delete,update. save and delete is working properly. But update in that i have an error message taht datetime is not in proper format.what should i do to convert … Software Development open-source | |
Hello, I am coping a problem with getline. I have a txt file that looks like the following.And my task is to read it and put them in a file that contains 10 columns and not 8. [CODE=plain]0,0,0,0,0,0,0,0 0,0,0,0,0,0,0,1 0,0,0,0,0,0,1,0 0,0,0,0,1,0,0,0 0,0,0,1,0,0,0,1 0,2,2,1,0,2,6,5 12,17,12,28,39,40,46,71 [/CODE] and I have to read … Software Development c++ | |
Command line arguments in linux usin C programming lanuage | |
i have to read 10 lines from the middle of a file, i tried to use seek method but it requires number of bytes. i dont know how many bytes will be contained in 10lines. how can i tell seek to read 10 lines from a specified location. Software Development c# | |
Hi Everyone, Thanks in advance for any help. I am fairly new to programming python, and I and another person are developing a simple educational (graphical) tool that shows variable referencing for any python code that I run in my own defined local and global name spaces. The problem I … Software Development python | |
We have an app that uses a sqlexpress db. We need our customers to be able to swap the database for this app out for another sqlexpress db fairly easily. So we came up with a small launcher app that allows them to choose the db they want from a … Software Development windows-vista | |
i was trying to make a [URL="http://devvicky.com/"]free microsoft word[/URL] plugin in vb.net. It automatically fills a web form. The main problem with the plugin is that it uses web browser control and once it has filled a form it will need to navigate another form. The form can only be … Software Development vb.net visual-studio web-browser | |
Help me! I just can't seem to get this right. I'm trying to open an Excel file(Template) and put data from msflexgrid into a specific place in the excel file but i just can't seem to get it right. Can anyone help me with this coding? Much appreciated. Thank you … Software Development visual-basic | |
i need some project topics in image processing and image compression to do my final projects send me some list plaese.... Software Development java | |
I want to set resolution automatically when my program will run. I want to make it (resolution) 1280*1024. What should I write there in my vb.net program to set resolution when my program will run? When user will stop using my program it will get default resolution. Thats all. Please … Software Development vb.net | |
Hey all, I'm new to programming in MASM 8086 Assembly language. How do you ask the user to input a string of word like "Hello Daniweb" in MASM 8086 assembly language and once the user enters it, it display it on the command window. I appreciate the code :D PS: … Software Development assembly | |
Can someone tell me how to print a dollar amount (i.e. 1140.95) as 114095? Software Development shell-scripting | |
Hey guys, my friend helped me with a code, but I didn't get a chance to ask him about why col is subtracted by 65? Can anyone tell me what exact that line is suppose to do. Thanks for dealing with me...the line is bold... [CODE]#include <iostream> //preprocesser directives using … Software Development c++ | |
How would you modify this gui code to designate only certain spots on your canvas to drop your image? Like when your playing solitaire and the game only allows you to drop your card in a certain spot. [URL="http://www.daniweb.com/forums/post1111987.html#post1111987"]http://www.daniweb.com/forums/post1111987.html#post1111987[/URL] | |
If I hard code search criteria i.e. adodc1.recordset.find "car Like 'corvete'" will work. But if i try to use an entered sting in text box on a form and assign it to a string variable with wildcards in the "find" it does not work. WORKS: Dim test As String test … Software Development visual-basic | |
here is my code of a linked list with a header file however it works in debugger mode but in normal run time it crashes Please help! Here's the header: [CODE]/* Lab3 Abstract Data Type - header file */ /* Type Definitions */ typedef struct { char state[20]; int year_adopted; … Software Development c data-structure linked-list open-source | |
[CODE]set_child_at (node=0x7fffffffe080, child=0x61e250, index=1) at 10679.c:319 319 if ((*node)->count_children == (*node)->m) (gdb) p *current_node $3 = (trie_node *) 0x0 (gdb) n 324 index = hash_insert((*node)->hv, index, (*node)->m, (*node)->m1); (gdb) n 325 (*node)->children[index] = child; (gdb) p current_node $4 = (trie_node **) 0x61e270 (gdb) p *current_node $5 = (trie_node *) 0x0 … Software Development c | |
I'm trying to write a program that prints out the largest and smallest of four numbers that are inputted using a JOptionpane, but I cannot figure out how to sort out the integers with if and if else statements. Anyone have any advise? Software Development java | |
I have a list of books that I need to access from 3 or 4 different functions of my program. It's 250 books with unique names. Would it be wise to use simple array to store the list? Or is there any easy way for a newbie to manually create … | |
Anyone know how to implement a timer code? What do i have to do in order to implement a timer? And the timer is one minute and then the vb program continues. thank you so much. Software Development visual-basic | |
In my book, it says find() must be used like so: ex: iter = var.find(scores.begin(), scores.end(), score); but later it uses this in practice: ex: while (used.find(guess) != string::npos) Why can you simply pass 'guess' var to it here and not need to search a range? Isn't find() an algorithm … | |
Ok, I'm new to java and I need a little help with this if statement. Or possibly a different approach on how to write it. The if statement first needs to determine what type of package the user has so they may be charged a base fee. (Package A, B … Software Development java | |
Still learning and I just want to be sure I'm clear on a few very basic syntax issues. Any help is much appreciated. [COLOR="red"]5.1 - Basics[/COLOR] int = a single number? char = a single letter OR number? string = a phrase of letters (up to?) char array[]; // array … Software Development c++ | |
Is there a way to accomplish the following in python? [CODE=javascript] try{ // something } catch (e) { // display e.message, e.name, e.linenumber } [/CODE] Software Development python | |
I define a variable as float num1; I try to use a scanf to read it scanf("%f", num1); I get some (what I think is a crazy response) statement expects a float, argument is a double I am sure I must be doing something wrong because I also get this … | |
I have a question on Chapter 4, exercise 1 of Michael Dawson's "Beginning C++ through Game Programming 2nd Edition". The chapter goes over STL, vectors and iterators. The assignment is to create a program that allows the user to edit games in a list. In the book we learn about … Software Development c++ | |
Ok, I'm having the hardest time writing this code for work. Any suggestions on how to get me going in the right direction on this code would be great!!! Project: I need to make uninstalled fonts available for viewing for my co-workers. Therefore, I'm to write a code that can … Software Development java | |
Hey Guys, I'm having some trouble compiling my code. it says that there's an error in one of apple's header files. /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/include/arm/_types.h:13: error: expected constructor, destructor, or type conversion before ‘typedef’ nvm, solved | |
I am trying to get the following code to take in either a number or an integer, determine whether what the user inputted is an integer or a letter, and then print a random digit if it is an integer, or a random letter if it is a letter. [CODE]#include … Software Development c++ | |
Hi, First off, I'm a real greenhorn so please forgive me asking questions which may be bleeding obvious, but I have searched and searched and cannot find an answer to my problem. I'm trying to import a CSV file into sqlite3 database in python. The CSV file has 56 columns … | |
What approach should I use to return all dict keys that have the maximum value. The code below outputs 1, but I would like for it to return 1, 2. [CODE]import operator d1 = dict() d1[0] = 1 d1[1] = 2 d1[2] = 2 maxValue = max(d1.iteritems(), key=operator.itemgetter(1))[0] [/CODE] Software Development python | |
Hi all, I'm trying to set up code that will allow me to do the following: Read in a csv file, In columns 3 and 5 there is similar information, I want to count how many times each unique entry is in either of these columns. For example: col 3: … Software Development perl | |
Ive been trying to make a simple program that if i press the 'TAB' button it automatically presses 'Alt' (in a loop) Also i want it to work when python isnt the main program im using, like say a macro program. import pygame while True: if pygame.K_TAB: ye nvm im … Software Development python |
The End.