Software Development Network Logo
  • Windows Live
  • Smart Device
  • Microsoft ISV
  • Visual Basic
  • .NET Development
  • Architecture
  • VS Team System
  • Game Technologies
  • Visual C#
  • Windows Forms
  • Visual C++
  • Visual Studio
  • Visual FoxPro
  • VS Express Editions
  • Windows Vista

Software Development Network >> Mark Ashton's Q&A profile

Mark Ashton

Member List

perepe
PlanetCoder
Johan Normén - Nsquared2
Phillip Misner MSFT
Pl_john
Lee Nelson
Eileen Torrens
dwerner_80
María E
Joseph Lopez
Borat
webcomber
Ahmad_Jafari
aka_Big_Wurm
webdeveloper_smriti
roozbeh
colostate
maila
Srivani V Eluri
Carlos Iriarte
Only Title

Mark Ashton's Q&A profile

  • Visual Studio Express Editions Unable to build application from a project when not connected to a network

    Hi all: I used my company laptop at home (with wi-fi) and tried to "build" an application.  It always failed.  It even failed on a project with one form and no other object.  The error message was: "Unable to write to output file 'C:\Documents and Settings\user\Local Settings\Application Data\Temporary Projects\WindowsApplication1\obj\Release\WindowsApplication1.exe': The specified image file did not contain a resource section."   My computer workes fine on building applications when it is  connected to my office network .  Can anybody help   Thanks. Learner Hi, &nb ...Show All

  • Windows Forms problem with loading external dll

    I created my program which is an image viewer / uploader.  When it loads, it requires the user to login which hits a web service on the same domain to get their ftp settings.  When I first pushed out the program, I got the following error message: The application attempted to perform an operation not allowed by the security policy.... Request  ...Show All

  • .NET Development .NET 2.0 SNMP support

    Is there any SNMP support in .NET 2.0   Any info on how to write a SNMP client Thanks. I know you posted this a long time ago, but I have a question. Your answer said SNMP is not supported but can be done by using TCPClient to implement the protocol. I know this is asking alot, but would you be able to show me a simple example. The simplest "get" would get me over the hump. thanks for any help ...Show All

  • Visual Studio Express Editions Can Anyone Relate To This???

    Hi There http://www.geocities.com/tablizer/oopbad.htm Cheers Bronco Billy "Beer and Fast Women are Ok... No Cigarettes or Hard Liquor Allowed" "Good grief, that sounds simple but you have to interrogate a DNS to do this in a DLL and return that to Excel. That's hard stuff to do and there's very little info about it on the net." Wahoo.... and I found a complete and very professional DNS.REQUEST class on the net in C#. I built it and vb.net is doing absolutely beautifully with the DLL's classes. This isn't Fortran billy. you could appropiate some like this with a library but this allows me to s ...Show All

  • Visual C++ Using CFont in MFC (Background colors and refresh)

    In my MFC application I'm using CFormView class and I have created a simple test frame of type CStatic and background color set to black (see sample code below) and all the OnDraw function does is write some text to the test frame. How do I change the background color of the text so the message don't have a default white background overwriting the black background when I draw to the device context Also, I noticed that when I minimized the window and restore it the OnDraw function is not being called and thus the text is not updated properly. What changes do I need to make for it to update this text void MyClass::OnDraw(CDC* pDC) { CF ...Show All

  • Visual C++ aspell compilation problems

    Hi, I tried to post on the forum but it kept coming up with an internal error so i was wondering if you could help me with the following:I have recently been trying to compile aspell (a spell checker written in c and c++) in visual studio .NET (2003) which has taken forever but i managed to get it to compile a dll now. When i come to add this dll file into another project which will be using the methods from this dll it keeps giving the following error and not allowing me to add it: "Add Reference: Error adding reference to the project.". Does anyone have any suggestions on how to overcome this Any information woul ...Show All

  • Visual Studio Team System ApplicationException Obsolescence

    I wonder why this suggestion hasn't gotten more attention... http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=bb324b70-b897-48af-8d24-c8809ca86daf -Ryan Ryan, I just had a look internally and the bug itself has been closed as Won't Fix (for some reason it hasn't propagated to the Ladybug database). The reason that it can't be marked obsolete is for two reasons: Existing code already derives from ApplicationException, however, changing a base class (especially for a Exception) is considered a breaking change Existing code catches ApplicationException - as existing ...Show All

  • SQL Server error- shared memory sql server doesnt........

    Hi evryone   I have installed SQL server as local system account and mixmode authorization. After installing when i try to connect to database using sa account. it gives error like Microsoft ODBC sql server driver -  shared memory- sql server doesnt exist or access denied. I unistalled sql server and again i installed. but same error facing. Please reply. Regards, What name did you give the SQL Server when you installed it, which SQL Server was it If this is SQL Express then the connection string you need ot use is .\sqlexpress ...Show All

  • Visual C++ Candidate function(s) not accessible strange case

    When trying to call a __gc class static function in an assembly which has CLR and non-CLR types in its signature, I get a Candidate function(s) not accessible error. In an assembly, using /clr:oldSyntax: TSEShared.h -------------- // TSEShared.h #pragma once #include <string> using namespace System; namespace TSEShared { public __gc class Global { public: static std::string ToCppString(System::String *); }; } TSEShared.cpp ---------------- #include "stdafx.h" #include "TSEShared.h" std::string TSEShared::Global::ToCppString(System::String * str) { if (str == 0) { return(std::string()); } System::In ...Show All

  • Visual C# C# analog clock runs slow on some computers

    Hi all, I have a problem with the System.Threading.Timer class that I am using for my clock. The clock runs faster on an Intel box than it does on an AMD box and it has nothing to do with the CPU speed. Has anyone come across this before Any suggestions would be much appreciated. Ok, I have found that it is not a cpu problem as I have another box with an AMD Duron XP 1000MHz(5x200) which runs at the correct speed. I have tried it on another computer (an intel celeron 4A, 2400MHz(6x400) and it runs slow. ) There doesn't seem to be any link between the CPU and the slow clock problem. I thought now maybe it could be a video card problem, but ...Show All

  • Visual Studio Team System Project Portal bug? Cannot get Discussions onto Quick Launch Bar

    That's right. When I modify the settings of the General Discussion on our project portal so that it reads: General Settings General settings of this discussion board include its name, description, and security. Current general settings of this discussion board: Title: General Discussion Web Address: http://tiger/sites/Why/Lists/General Discussion/AllItems.aspx Description: Use the General Discussion to hold newsgroup-style discussions on topics relevant to your team. On Quick Launch Bar: ...Show All

  • Smart Device Development dynamic buttons in CF

    Hi, Already i've posted this question in .NET CF forum. Got some ideas. but not solution. Sorry to post here again. My problem is, Actually i created 10 btns and 10 labels dynamically. But i couldn't set the name for them. As well as in the clicking event, sender.name and sender.text r not working. how can i get sender's info When i type sender.text or sender.name in clicking event , getting error that "targetted version does not support latebinding". When i click first button ,first label's content has to be reduced by one. ex: label1.text =10 (intially). After clicking the button1 once, it should show 9. for ...Show All

  • SQL Server Linking between two databases

    Is it posable to link between two diferent Databases I am putting membership on my visual studios website which by default builds it's own database. I am then building a database for our products and services. I don't want to have to recreate all the client inforation that I already have in the default member database. But I don't think I want to put all the other info in the membershipp database. Thanks for any help and advice Ed Hi, you can either access your database by using three part names: SELECT * FROM Database.Schema.ObjectName [Schema is called owner in SQL Server 2000] or (b ...Show All

  • Visual Studio Express Editions How can I programatically create an "Access" Database, Specifying Name, Loaction, and Fields e.t.c.?

    I have a project that gives users the ability to save their results to an "Access" (not sql) Database. I now would like add the ability to create an Access databae to save their results. But first, I need to programatically check first to see if the users PC has a copy of Microsoft Access, then if so, allow them to specify a location to create the needed database... and so on. Mikeeee Hello Mike... Here are a few articles that should clear things up: http://www.vbforums.com/showthread.php t=251384 http://www.freevbcode.com/ShowCode.asp ID=5797 If I may...rather than creating somethi ...Show All

  • Windows Forms Automatic sizing of column width based on text length

    Hey, I have 6 columns in my Datagrid. Four of the columns contain text strings sets of known length. Two of the columns contain patient names of varying length. I want to use the entire width of the Datagrid for the columns. How can I automatically size the width of each column to their string length Thanks, Jody Maybe this will help http://www.syncfusion.co ...Show All

©2008 Software Development Network