4,928 Topics
![]() | |
Hello, I have an xml file and an xsd file. I am using c# (visual studio) to read the xml file but I would like my program to validate it against my xsd schema. Sounds simple but I have tried using the XMLValidatingReader - the compiler then tells me it … | |
Hi all, I'm new to this community. I am doing a project that I'd have to write a program to connect 2(at least) PCs together. each PC works as a server and at the same time as a client, which each of them can download the file which is shared … | |
I thought you couldn't run an EXE from a web page, you had to download it. How can it be that ClickOnce lets you choose online-only? Does it temporarily install the EXE on the users computer? If I want my application to run online only and I use the publishing … | |
Hey everyone, I am using Visual Studio 2008 to debug some code where the goal is create a linked list using pointer variables. Here is the main error I am getting when trying to compile: [CODE] error C2227: left of '->Account' must point to class/struct/union/generic type type is 'Link_t' [/CODE] … | |
Here is my issue. I'm attempting to create a daily mailing using a console app. Well, when I started, I for some brilliant reason made a web app. So I'm trying to translate it into a console app, and while I THINK this should work, I keep getting a "type … | |
Hi, I'm hoping someone can make sense of this... I'm trying to use WMI to get file information from a specific directory on a remote machine using CIM_DataFile. I can get all of the files on the on the remote machine using: System.Management.ObjectQuery oq1 = new System.Management.ObjectQuery("SELECT * FROM CIM_DataFile"); … | |
HI, I'm relatively new to programming in C++. I'm pretty solid in C and Java though. Anyway, I'm trying to create a class, Mesh, that has a vector full of my other class, Node, however the compiler doesn't seem to like it. I've looked through the console message but I … | |
Hi all, How to find free physical memory... I am using new operator to allocate memory.. I tried GlobalMemoryStatus (windows api) to analyse the current free memory. new is giving exception still GlobalMemoryStatus shows sufficient free memory.. I am using visual studio 2005 for development. and I want to avoid … | |
i've done a of couple searches on this board and i haven't really found any answer to this. so- how can i get graphics into my c++ programs. From the books i've been looking through there aren't many, if any graphic commands, in the .net and visual c++ versions of … | |
Hi all, How to find the free physical memory... actually i want to avoid the exception from new operator.. i have used the [B]GlobalMemoryStatus[/B] a windows api for this but new is giving exception still more memory available than i am allocating. I am using visual studio 2005 Please help … | |
I am trying to delete a file when my program draws itself (Using Visual Studio 2008). Currently using this method [CODE] public frmMainMenu() { InitializeComponent(); File.Delete("\\Program Files\\smartdeviceproject1\\SendXML\\1.txt"); }[/CODE] The path for the file is "\Program Files\smartdeviceproject1\SendXML\1.txt" Yet when the program is executed, breakpointing shows that the line is executed (and … | |
dear all, i need help about asp.net. i'm making application with login form from visual studio and using loginname in every pages, my questions is: how to get username online into database when user insert/update? because i wont to know 'who create this data' best regards, martin | |
I am creating an application that has a thread which constantly moves the contents of one folder to another (Using Visual Studio, Compact Framework) I start the thread like this [CODE]public static class Program { /// <summary> /// The main entry point for the application. /// </summary> /// [MTAThread] public … | |
I'm just learning C# and I'm using MS Visual Studio for that and a website with tutorial stuff. I've written my first little app which just does a simple calculation on some figures input by the user and outputs the result. It is a console app at present. Now I … | |
I am attempting to create a windows application that listens to port 80. I started with a socket, then tried a TCP, and eventually an HTTP, Listener - nothing works. I keep getting an access denied error. As it turns out, the geniuses at Microsoft flow all port 80 traffic … | |
how to create a exe file after making windows form application in visual studio 2008 | |
<<split from [URL="http://www.daniweb.com/forums/post452669.html#post452669"]here[/URL]>> [QUOTE=QVeen72;1120857]Hi, First Check Which Form is giving the error, and also check what all components (ocx) you have used in that form.... SP2 seems very old.. What I recommend is Download and Install Visual Studio latest service pack (SP6 ) on your machine and Complie and Create … | |
Hello, I am working with visual studio 2008 and an external website host. The real issue is that I am trying to add a "data connection" from the mysql server on my host to visual studio. On the website host mysql is already installed and running, a Database has been … | |
I need to find how long it takes to execute a bunch of code. I've tried using clock() but it's just not accurate enough for the small functions (it says 0 cycles have passed). I heard of gprof but that only seems to be for Linux. The version of Visual … | |
![]() | My program is able to create the folder fine but I wanted to know if there is a way to put the date and time in the title? C++ and using Visual Studio 2008 for Windows. [CODE]system("mkdir %SYSTEMDRIVE%\\Blebble\\Blabble");[/CODE] ![]() |
Hi there, I'm trying to return base class pointers from the two classes 'base' and 'child', but I keep on getting a build error of "1 unresolved externals". I think it may be because I am linking all the files together incorrectly. When I comment out the problem line in … | |
Hi, I have been wrestling with this program all day and am looking for some help. I have never separated a program up before into separate files (main.cpp, base.h and base.cpp). What I'm trying to do is call a function from main() and have that function return a pointer to … | |
I am using Visual Studio Web Developer 2008, CSS 2.1 Browser Firefox 3.5.8, IE 6.0.2900 I created a master page following tutorials elsewhere and the problem mainly comes with the Menu bar, I created a custom menu bar to suit my needs, rather than using the inbuilt menu, but i … | |
Hi, I am working on visual studio 2008 C++ and I have done the C++ general code, my question is can I convert my general code to be C++ CLR in visual studio 2008? This will make my work easier. And I have one more small question is I have … | |
Hi, When using Microsoft Visual Studio, building in release the code just hangs and fails to execute but with Debug it builds and runs to the end. And I don't see why there should be a difference. I did a shutdown then clean and a rebuild of solution but the … | |
Hi, I am using Visual Studio 2008 Express Edition, and I wrote my code as follow: ====================================code starts [CODE]#include <iostream> #include <string> #include <sstream> using namespace std; int main() { string *p; int n; cout << "Please input the number of students"<<endl; cin>>n; p = new string [n]; cout <<"Please … | |
I am trying to browse an image and i will search for the images with the same name in the folder called IMAGES . If it exists i just replace it when i run my project using Visual Studio its working fine and image is perfectly getting replaced when i … | |
Hi, I am using Visual studio 2008 express edition now. It does not have stdafx.h. so I download stdafx.h and three other head files: AFXWIN.h, AFXEXT.h and AFXCMN.h from google. I put these four headfiles into C:\Program Files\Microsoft Visual Studio 9.0\VC\include. And then I wrote a small program just to … | |
Hello, I installed Microsoft Visual Studio 2008 Express Editions last week. Then I found there are many head files missing, such as: matrix.h stdafx.h matlablink.h itpp/itcomm.h Should I uninstall Microsoft Visual Studio 2008 Express Editions and then install Microsoft Visual Studio 2008 Standard Editions? Is there free download version of … | |
In a question i am required to add every other number starting from the right most side and going left on every other number. I have a code that is almost right as i am led to beleive. the code is: [CODE]#include <iostream> #include <cmath> int main () { int … | |
I have to install Visual Studio 6 in XP Mode on Windows 7 and Visual Studio 2008 on Windows 7. Both use SQLServer 2005. Which do I install the SQLServer 2005, on the Windows 7 or XP Mode or do I need to do two installs? | |
Hi ive created this code for search and when i debug the applicaion it gives me an error with Variables, I dont understand a thing about variables, ive searched for a chapter on variables but i cant seem to find it on line, if any1 knows wer i can find … | |
I want to display a screen as soon as the CD(or pendrive etc.) is inserted into the users computer and on clicking a button on the screen the setup project gets installed(one click insttallation) ... just like how visual studio gets installed with flash pics moving on the right hand … | |
Hello, I just start to learn c++. what I'm using is visual c++ express edition. here is the source code: --------------------------------------start [CODE]#include <iostream> using namespace std; template <class T> class pair { T value1, value2; public: pair (T first, T second) { value1=first; value2=second; } T getmax (); }; template … | |
Hello i am watching some tutorials on [URL="http://www.3dbuzz.com/vbforum/sv_showvideo.php?v=27"]3d Buzz[/URL] and intro to C++ starts by saying that [CODE] #include <iostream> main () { std::cout << "hello world!" << std::endl ; } [/CODE] should show a CMD like window saying Hello World! On the video they try it and it works … | |
I am using Visual Studio 2005 to build a website using ASP.NET and VB.NET. It is accessing data on SQL Server 2005. I have a form (actually it is in a wizard) that needs data populated from a sqldatareader. This all works for the first two steps in the wizard, … | |
Hi everyone, I wrote a dll which is export char* like; [CODE] extern "C" __declspec(dllexport) char* Test(void) { char* cts = "hi"; return cts; } [/CODE] and import the dll on vb.net like; [CODE] Declare Ansi Function Test Lib "[Path]" Alias "Test" () As String [/CODE] and call like; [CODE] … | |
Hi I use visual studio to make my programs. I know that to copy the output of the program, you have to right click, mark, highlight, and then copy. But almost all the time when I try to paste nothing happens, and by that time the output box disappreared so … | |
Helo all... i am working on LIVE555,on RTSPClient and RTSPserver......i need little help in compiling OpenRTSP using visual Studio..i tried compiling but there 6 link errors in it..... So anyone who worked on it please do assist me.....I even tried in LIVE555 Forums also/....There's nothing much help from that forums....and … | |
I'm new. So, hold on. This may be an inappropiate question but I don't know that. I have a friend that is working with me. He is not available for two more days. Any help would be greatly appreciated. I am using 2008 Visual Studio. This works: Student/Adult: [code] <asp:DropDownList … | |
When writing programs with class declarations you need to write a header file with the .h extension. In Microsoft Visual Studio 2008 where do you enter this bit of code? I know how to start a .cpp file but don't know where to put the extension so I can call … | |
Hi, I am using cmake to build a visual studio 2008 solution file. When I do all build it works fine, but when I try to run a certain target inside that solution its giving me errors like: fatal error: 'limits.h' file not found 'stdio.h' file not found 'reloc2.h' file … | |
Hello, I'm searching for something that can be used for our side navigation that is better than TreeView Control in Visual Studio for .Net. Any suggestions? | |
Hi: I just got a brand new computer from HP. The HP line is HP Elite m9350f with the following specs: 1. AMD Phenom 9850 Quad-Core 2.5GHz 2. 6GB RAM 3. Motherboard: Asus M2N78-LA 4. NVIDIA 9800 GT 512MB 5. Windows Vista Ultimate 64bit Edition The computer is only a … | |
Hello Friends , I from India, name samrat. i am c# sharp beginner. The Problem is My code is showing Error 1 The name 'choice' does not exist in the current context. So any help would be appreciated. code- [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BasicCalculator … | |
I NEED HELP WITH THIS BUTTON IVE ATTACHED THE FORM AND CODE ERROR. [code] public partial class Client : Form { public Client() { InitializeComponent(); } private void clientsBindingNavigatorSaveItem_Click(object sender, EventArgs e) { this.Validate(); this.clientsBindingSource.EndEdit(); this.clientsTableAdapter.Update(this.dataSet.clients); } private void Client_Load(object sender, EventArgs e) { // TODO: This line of code … | |
I have created a windows application in c# using sql server 2005 as back end , i completed my project , now i want to create an MSI package , i know how to create a sample MSI or EXE application in Visual studio 2008 , but i dont know … | |
hi, i am retrieving the names from database by using combobox by a character by character search method as they do in search engines like google when u want to search anything in it by entering 2 to 4 characters u can get full related topics of same characters .. … | |
hi can anyone help me with this code that ive created for a login form, im having trouble with the username and password, ive highlighted the part that's giving me a problem. Error Message: The name 'inputName' does not exist in the current context : The name 'inputPass' does not … | |
Hi. I have some beginner questions related to C# in general, as well as my first home assignment in C#. When the .exe file is opened, a window pops up and asks user a question. He has 2 answer options (2 buttons). The task is - make it impossible for … |
The End.