4,928 Topics

Member Avatar for
Member Avatar for sarsekim

Hello, I am having some trouble debugging a simple windows forms application. I have four textboxes, two being readonly that display the calculated answers, and then a "calculate" button. here is the code for the calculate button: [code] private void btnCalculate_Click(object sender, EventArgs e) { decimal obj_height = Convert.ToDecimal(txtHeight.Text); decimal …

Member Avatar for ddanbe
0
150
Member Avatar for spursfan2110

This isn't entirely a programming problem, but it may be at its base, which is why I'm bringing it to you guys. For my assignment, I have download a .txt file from my prof's webpage, and then have my program open it. The file, when opened in a web browser, …

Member Avatar for spursfan2110
0
113
Member Avatar for amby

hey i am new in javascript, i was having problem in including jquery in this file in Visual Studio but i resolved it by using ResolveUrl but after that its giving error "; expected" in the line1 i-e [CODE]<[COLOR="Red"]%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2"%>[/COLOR] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for amby
0
198
Member Avatar for swinefish

I'm having an odd issue with reading the output of a process in VS2010. I have redirected all the necessary streams as I should ([icode]p.RedirectStandardOut = true[/icode] etc) and getting hold of the standard output and placing it in a another stream is no problem. However, when I read from …

Member Avatar for swinefish
1
123
Member Avatar for ckjie

Hello all. I am doing a chat server project v socket programming. I am doing it with visuakl studio 2008, C sharp and i build it with a console application project. Below are my codes and the errors i meet. can any1 help me on how to solve these errors? …

Member Avatar for Geekitygeek
0
245
Member Avatar for GooeyG

Whenever i type in code, Visual Studio puts an dot or a tab(->) in between code.I tried uninstalling and reinstalling Visual Studio, but that didn't do anything.I'm not quite sure what i did and i can't find a way to undo it. Thanks! P.s.-I tried to copy and paste the …

Member Avatar for GooeyG
0
87
Member Avatar for napkinbob

Hello. I want to copy a file from a UNC path (ex: \\comname\dirname\filename.txt) to a local destination (c:\outputdir) I have no compile errors, but when I run it, it throws an exception (System.IO.DirectoryNotFoundException). I'm absolutely sure the destination existst (it's referencing the destination directory). I've tried doing it with system.io.file.copy(source,dest) …

Member Avatar for fatiza
0
750
Member Avatar for ckjie

Hi all, i am doing a chat server project, i get the code below from a book. but when i try to compile it, i get the errors below, can anyone tell me y i get such error or how to solve it? or maybe this code is for c#2005 …

0
54
Member Avatar for DrueY

Hi everyone, Im working on a C# project, a program that helps facilitate writing code in C++. Im using Visual C# Express, and possible will use Visual Studio 2008. Im just in the design process, however, and the when I choose the build option and the "program demo" screen appears …

Member Avatar for kvprajapati
0
141
Member Avatar for Waldek

I'm a vba and former vb6 developer and I work in the UK, mainly in Access, Excel and sqlServer. I've been learning VB.Net 2005 for a couple of years as a hobby. I've joined the forum because of selfish reasons, yes youre right, I've got a problem. I'll use another …

Member Avatar for ryan_vietnow
0
57
Member Avatar for jascook

Hi all, I've uploaded my asp.net site to my ISP. It works fine locally on VWDE 2005, in that I can create users, assign them to roles, and control role access to website folders etc. Obviously this is all with SQL 2005 Express on my PC. When I upload it …

0
87
Member Avatar for guht

I have a VB.NET application created in Visual Studio 2005. The application uses crystal reports. It works fine on the developer machine, but I am receiving the following error on a client machine: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=11.5.3700.0 This is a standalone executable and not distributable …

Member Avatar for kjohnston
0
1K
Member Avatar for sudiptamondal

[CODE]#include<stdio.h> #include"graphics.h" #include<stdlib.h> #include<conio.h> void main() { int graphdriver=DETECT,graphmode; int color,n,m; initgraph(&graphdriver,&graphmode); for(n=0;n<10;n++) { putpixel(250+n,350,BLUE); } for(m=0;m<10;m++) { int x=getpixel(250+m,350); printf("%d",x); } getch(); } [/CODE] I have to compile programs using graphics.h but i use Microsoft visual studio 6.0 . There is no graphics.h file in it... so i copied …

Member Avatar for hkdani
0
459
Member Avatar for pyroclastic

Hi everyone, This is my first post on daniweb! I'm fairly new to C++ and am trying to add sound to my application using FMOD. Now, I have managed to get sound playing correctly using FMOD, but I'm now trying to get all the sounds I want loaded, into a …

Member Avatar for pyroclastic
0
101
Member Avatar for sid78669

Hey Everyone! I am writing a program for students and to keep it platform independent I have chosen to convert it to Java. Now, earlier I was using C# and with MS Visual Studio, I was able to write a plugin which would save all open ms office documents. I …

Member Avatar for masijade
0
152
Member Avatar for iliali16

Hi Guys i am developing some code but I am using part of it from a open source program. The problem is that I need to use the EditableBitmap class and I don't know how to import it. I looked around in Google but nothing showed up. Can ayone let …

Member Avatar for Geekitygeek
0
87
Member Avatar for Rageagainst20

Hello, I am trying to get a response from a URL using the following method [CODE]public void IsUrlReachable() { HttpWebRequest webRequest; WebResponse webResponse = null; //Need to assign this as null otherwise it does not compile try { webRequest = WebRequest.Create("http://[myurl].asmx"); webRequest.Method = "GET"; webRequest.KeepAlive = false; webResponse = webRequest.GetResponse(); …

Member Avatar for Rageagainst20
0
168
Member Avatar for TerishD

I went surfing for some basic information, and found myself directed to this site. I did not find my information here, and that banner at the top of the page makes this site rather annoying. I really haven't found any answers at other places, but I haven't found anyone to …

Member Avatar for jephthah
0
115
Member Avatar for ramsham

Hi Everybody!!! I am Working on Web application Using C#.NET(Microsoft Visual Studio) and SQL server 2005 ,Microsoft Internet Explorer .I have to show some Sanskrit text on web page.Now i am showing it using the Text Box control(as it show text as it is from database like paragraph...) 1.My Problem …

Member Avatar for ramsham
0
171
Member Avatar for MehdiAnis

I have a WinXP Developer machine with Eclipse and workplace for all my PHP projects. I also have my UbuntuLAMP server in LAN. I want to create/edit php/hetml files on my Development machine, then publish the files to UbuntuLAN server. How? More over is there an automated way to:- 1. …

Member Avatar for MehdiAnis
0
610
Member Avatar for Ian Morrison

I'm implementing an [URL="http://www.objectmentor.com/resources/articles/acv.pdf"]acyclical visitor[/URL] in my project and having some difficulties with the requisite dynamic_cast. The setup looks something like this: [CODE]class Visitor; class Entity { public: virtual void accept(Visitor &v) const = 0; }; class MyClass ; class MyClassVisitor { public: virtual void visit(const MyClass &obj) = 0; …

Member Avatar for Ian Morrison
0
96
Member Avatar for omar isaid

I am developing a Windows based Mobile application , using Windows Mobile SDK 6 standard edition and Visual Studio 2008 SP1 I want to have a dataGrid with a check box column , the class 'DataTableCheckBox' seems not available as one of controls of Compact edition framework 3.5 , in …

0
50
Member Avatar for adobe71

I have a problem in my project in C# visual studio 2008, I added a textfile in my project,on button click it opens,After deployement (installation)it works fine in window xp but give error in vista,it do not find the path specified. Folling is the code: private void pictureBox9_Click(object sender, EventArgs …

Member Avatar for Geekitygeek
0
179
Member Avatar for reza.adinata

Hi all, I am trying to learn the basic concept about array, however when I tried to change the type into string, it shows error .. I am using IDE visual studio 2005 [CODE]#include <iostream> #include <string> using namespace std; int main() { string stName[20]; cout << "what is your …

Member Avatar for reza.adinata
0
157
Member Avatar for bexxy

Ive been trying to figure this out all day but have been unable to make as progress so I was wondering if anyone here could help me out. Im making a program that allows the user to add a name, update the current name list , remove a name from …

Member Avatar for Ancient Dragon
0
97
Member Avatar for Nazir Hussain

Hi, I have created a local SQL database using Visual Studio 2005 (not by SQL Server Management Studio), and located it in the same VB project folder: "E:\MyProject\MyDB.mdf". Now I'm trying to design reports using Crystal Reports 2008, but for SQL Server, it doesn't browse this DB created by visual …

Member Avatar for kvprajapati
0
105
Member Avatar for BrianWren

Can't find a database forum, so I'm posting here. If this is no good, perhaps someone can effectively redirect me... _______________________________ On starting SQL Server Management Studio Express, I get a message that says: [code] _________________________________________________ | Microsoft SQL Server Management Studio Express | ^ | /!\ The file C:\Windows\Microsoft.NET\Framework\mscorlib.tlb …

Member Avatar for rch1231
0
131
Member Avatar for BrianWren

Can't find a database forum, so I'm posting here. If this is no good, perhaps someone can effectively redirect me... _______________________________ On starting SQL Server 2005 Management Studio Express, I get a message that says: [code] _________________________________________________ | Microsoft SQL Server Management Studio Express | ^ | /!\ The file …

Member Avatar for apegram
0
109
Member Avatar for DrewS

Hello I need pthread.h library in my program in C and i am using Visual Studio. how can i use threading in C? i visited this [URL="http://sources.redhat.com/pthreads-win32/"]site.[/URL] but i dont know what to download and where to put it. I mean what am i supposed to download- header file or …

Member Avatar for jephthah
0
131
Member Avatar for tajendra

Code portability basically refers to making source code able to compile on different platform without making any changes in source code. While coding its very important to keep portability in mind.The best way to introduce code portability is while coding.Keeping certain things into account we can achieve code portability with …

Member Avatar for tajendra
0
472
Member Avatar for nirvana74v

Hi I am getting weird error with oracle connectivity. Immediately after the open() call, the connection shows as closed. I am not able to figure out whats going wrong. The same code works if executed differently. Line: This piece of code throws error [CODE=syntax] bool objState = false; if (Program.orConn …

Member Avatar for nirvana74v
0
428
Member Avatar for ogimy

i have make the simple code log in program with connect database.The below code have something problem.Can someone pro solve the problem.:( [code] Private Sub btnSignIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSignIn.Click Dim conn As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter …

Member Avatar for GeekByChoiCe
0
86
Member Avatar for donaloflanagain

I am a final year university student quickly nearing my project deadline. My project is to write an artificial intelligence program for a robot to find its way through a maze. I have been using a Lego Mindstorms Robot and the NXC (Not eXactly C) programming language to write and …

Member Avatar for Banfa
0
172
Member Avatar for bluem1

Team - Could someone please tell me I haven't lost my mind? I have done relationships in the past but now they don't seem to work. Have I gone dumb? Creating a winform, using VS2008, sqlexpress & vb.net. My dataset looks like this: -------------------------------------------- Table 1 - BranchInformation BranchID - …

Member Avatar for bluem1
0
165
Member Avatar for crioll

Hi. I create the table (MS SQL 2008) IdUrovniaKatHerakl - HierarchyId (not null primary key), KatName nvarchar(max) not null, LevelKat as RowId.GetLevel() KatId - int KatOpisanie nvarchar(max) How can I using C# in Visual Studio 2010 (RC) insert new data into this table? I do this: create DataSet and Create …

Member Avatar for crioll
0
595
Member Avatar for DavidDD

Hey there! First of all I have no idea if this is the right forum but I would assume that it is... Please move/delete/something this thread if it's not placed correctly and notify me :) Alright. Onto the problem. I am currently in school learning C++, we are right now …

0
63
Member Avatar for ALOK.53

[CODE]using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Web.Security; using System.Data.SqlClient; using System.Configuration; using System.Security; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { txtUserName.Focus(); } private void InitializeComponent() { this.cmdSubmit.Click += …

Member Avatar for kvprajapati
0
120
Member Avatar for ashish81sharma

Hi, I have a weired problem. I developed a multithreaded WinForm application using VB.Net, and SQL Server 2008. The application works perfectly fine if I am using Visual Studio IDE to run the same. But, if I run the exe file created by VS the application hangs in case I …

Member Avatar for kvprajapati
0
428
Member Avatar for timtalk

I am still pretty new to Visual basic, but have been working to write a program for Excel that will interact with a Javascript based website and extract data from this website. The site is not mine but I have approval to extract the data I need. The problem that …

Member Avatar for timtalk
0
405
Member Avatar for Kombat

Ok so for my program it prompts the user to enter 32 bits each separated by a space. But while debugging I would like to be able to load a txt file or something that contains the 32 bits instead of having to enter it each time I test it. …

Member Avatar for WaltP
0
81
Member Avatar for RAVARUNA

please I need to perform a silent download in visual studio 2008 please help me :)

Member Avatar for kvprajapati
0
79
Member Avatar for ross1664

I particularly like the Publish facility within VS 2008 (VB). What I actually want to do is use the same facility for a Spreadsheet. I.E. I have a Spreadsheet with a chunk of VBA code behind it. Is there anyway to incorporate the spreadsheet into a VS 2008 VB project …

Member Avatar for kvprajapati
0
210
Member Avatar for josephe

Will the new WPF 4 support multi-touch development on the HP TouchSmart computers? I know there is HP TouchSmart Developer kit, but it doesn't support the express editions of Visual Studio, and Visual Studio is kind of pricey.

Member Avatar for josephe
0
113
Member Avatar for emilio

hi I'm new to outlook add ins. i developed an outlook 2007 add in project and added a setup project so i will be able to install the add in to other computers. when i install the add in (using the installer from the setup project) it works fine on …

Member Avatar for emilio
0
107
Member Avatar for spetsnaz26

I'm programming using Visual Studio 2005 with Intel's Cilk SDK installed and learned there were some bad writing/reading happening at some specific memory locations, such as 0x00254c0( I can't remember the exact location, this is only an example). I have no idea what is going on at those locations and …

Member Avatar for spetsnaz26
0
120
Member Avatar for Hawkpath

Alright guys, I have a really weird error here. I'm programming a program that lets you specify the red, green, and blue components then stores them in arrays and uses the colors when drawing shapes. The program worked perfectly until about five minutes ago. Nothing affecting that specific part of …

Member Avatar for mrnutty
0
192
Member Avatar for CodyOebel

I am programming with visual studio express using the Dark GDK libraries, and If I wanted to conceal my hard artwork such as pictures and artwork I developed so that no one could take it from my project directory to play my game how can I compile all of the …

Member Avatar for CodyOebel
0
119
Member Avatar for ckjie

Hello all, I get the server source code below: [CODE]#include <winsock2.h> #include <ws2tcpip.h> #include <stdlib.h> #include <stdio.h> // Need to link with Ws2_32.lib, Mswsock.lib, and Advapi32.lib #define DEFAULT_BUFLEN 512 #define DEFAULT_PORT "27015" int __cdecl main(void) { WSADATA wsaData; SOCKET ListenSocket = INVALID_SOCKET, ClientSocket = INVALID_SOCKET; struct addrinfo *result = NULL, …

Member Avatar for Salem
0
166
Member Avatar for lukebradford

Hi all, and thanks in advance for your help. I have a program which stores some large arrays of ints and reads and writes from text files. main() takes commands with cin and then runs various functions. One of these, generateSentence(), takes three ints and a char* as arguments, but …

Member Avatar for lukebradford
0
286
Member Avatar for moonwalk

hi , is there a soft that can convert a visual c++ project to c++ builder ??? I've tried a tool that comes with c++ builder but with no result . thanks

Member Avatar for Ancient Dragon
0
156

The End.