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

Software Development Network >> mscheuner_garaio's Q&A profile

mscheuner_garaio

Member List

LuckLess
Vinces
dosler
Jimmyusa
Webme
Ades
kshawol
LadySQL
Chris Mullins
davidsbuchan
atp818
Aris Jake
Nellyyyyy
denisa
mark_05
harrysatya
linley
Allard Martinet
Mark Leung
JConklin
Only Title

mscheuner_garaio's Q&A profile

  • Architecture Choosing deisng pattern

    Hi. Your help is very appreciated. I want to build an app that is basically a client db. For that I am contructing a "client" class (that has - name, address, contact details etc...). However, I want to enable my users, to add properties to my "client" class WITOUHT needing to change my code . i.e. some clients might require an "age" and "annual income" properties as part of the "client" class. Which design pattern(s) might assist me p.s. I would like to use .NET(C#) to implement it . Thanks a lot Roy Hi! All depends on level of complexity you ready to take. Here is choices: Create 1 ...Show All

  • Windows Forms Why is ClipRectangle always 1px too wide and high?

    As already in the subject. If you have a Graphics objects of a control and check the ClipRectangle property it matches the size of the control, however if you try to draw a border:             Brush b = new SolidBrush(SystemColors.ControlDark);             Pen p = new Pen(b, 1);             e.Graphics.DrawRectangle(p, e.ClipRectangle);   the bottom and right lines can't be seen because they're 1px too wide. What am I missing here You ...Show All

  • Windows Forms data binding to a photo with sql server 2000 in c#

    hi all, the question as above anyone can solve the problem I appreciate your time in responding.  Ok let me see if I understand.  I already have a table in the database with a column datatype Image I already have a dataset derived from the table I already have a datalist derived fromt he dataset with an image lable from the table. It generated update functions and I am suppose to manually change the updater  from byte[] image, to Image.FromFile()  for example in my case Image.FromFile(~/nappapmail/ProMembers/artists/images/Image{0}.jpg) when I do this I get an error message Error 5 'FromFile' is not a m ...Show All

  • Visual Studio error MSB6006

    Greetings, When building from the command-line I get this error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1892,9): error MSB6006: "sgen .exe" exited with code 1. When i build from within visual studio I get no errors What can this be Regards, Gustavo Guerra Do you know why  I get "An error occurred when merging assemblies: ILMerge.Merge:ERROR!!!: Duplicate Type '_Default' found in assembly 'App-Web_a0p9mzuh' Thank you   ...Show All

  • Visual C++ floating point performance on x64 (AMD Opteron)

    I am porting a numerically intensive application from VS7 to VS8.  Surprisingly the Win32 Release exe (VS8) is 3 times as fast as the x64 Release exe in a matrix solver soving an array of double.  I am using the same optimizations (/O2) for both x64 and Win32.  Does this seem right   I had been hoping for a speed improvement with the 64 bit version. Hi John,   I can see that you already reported the bug at http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx feedbackid=68338e56-a013-48af-811e-454ca3b955b3 Thanks a lot for spending the time to log the issue! Unfortunately, you haven't attached an ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can I use PixelShaders with Sprites

    Hello,        First, We can I use pixel shaders with sprites        Second, Is Sprites fast enough to not drawing with a conventional way (Holding the vertices in vertex buffer and then apply a texture to them and use the pixel shader as regular)         I want to know which one is faster Thanks, Mustafa ELBanna Sorry this took so long - if you want to use Effects, I recommend you build the vertex buffer yourself.  You could draw D3DX sprites within an Effect block, but the vertices might not come as y ...Show All

  • Windows Forms ClickOnce Installs fail, ADODB 7.0.3300 required?!

    While trying to use the new ClickOnce in 2.0 (RTM), the installs fails on the majority of machines.  I receive the error that says.  "Unable to install or run the application.   The application requies the assembly ADODB 7.0.3300 to be installed in the Global Assembly Cache (GAC) first." The only 2 depenencies that this app requires is the .NET Framework 2.0 and the report viewer pack.  I believe it the report viewer pack is causing the problem.  Any ideas or suggestions on this problem   If I can't use apps that use the new reporting controls then clickonce is basically worthless for the majority of ...Show All

  • .NET Development CoCreateInstance is called in VS 2005 and Multithreading, Urgent help !!!

    Hello folks or guys from MS can help, My code structure like the following using VC++ : CIrDlg::OnInitDialog(){ ..... m_pWaitForMessageThread = AfxBeginThread(WaitForMessage, this ); //create a thread ..... } ClrDlg::WaitForMessage(){ AxCOM::Class2 * pObj = new AxCOM::Class2(); //AxCOM is managed component; hRes = CoCreateInstance(clsid,NULL,CLSCTX_ALL,iid, reinterpret_cast < void **>(&pObj)); pObj->Logon(user, logon) } Error message:An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module. Additional information: Attempted to read or write ...Show All

  • Visual Basic Connection String To Northwind

    Since I have been trying for some time to populate a treeview with a database, I am excited to see this thread. As cited above, I am working with the linked article ("HOW TO: Populate a TreeView Control from a Dataset in Visual Basic .NET" - http://support.microsoft.com/ kbid=320755 ), but not yet able to get it to work. The problem seems to be in "modifying the connection string to point to the Northwind database on your SQL server." When I run debug, I get a message box stating: "SQL exception was unhandled" "An has error occurred while establishing a connection to the server." which is linked to CNwind.Open () in the cod ...Show All

  • Visual C++ Visual C++ 2005 map<string, string> problem

    The following code compiles fine in Visual C++ 2003 but not in 2005 <br> <br> using namespace std;<br> <br> string name, value; <br> name = "foo"; <br> value = "bar"; <br> map<string, string> m; <br> m.insert(pair <string, string> (name, value));<br> <br> <br> Did something change or am I doing something wrong Thank you. This code compiles fine in VC2003 and VC2005.  Did you forget the #includes It's generally much easier to help if you report what errors you are getting... #include "stdafx.h"   #i ...Show All

  • Smart Device Development Native development - Survey

    Hello to all native developers. I'm with VSD team and looking for your inputs in making VS platform better for future release. I'll appreciate if you all can spare few minutes and send me answers to the following questions. Thanks, Manav Are you existing mobile developer Yes No I’m looking to start mobile development What best describe you as a developer Professional developer/ISV Enterprise developer Student/Hobbyist/Casual Developer Other What kind of applications do you develop Enterprise Line of Business Entertainment/Media Productivity Gaming Retail L ...Show All

  • Windows Forms How to keep selected grid row after columnheader click?

    When a columnheader of a grid is clicked for sorting, after the sort, the record selector does not move with the selected row. How to keep selected row after columnheader click Here's my psuedocode: 'First I populate a datatable from a datareader. ' Then create a dataview myDataview = New DataView(myDataTable) ' Bind to the grid myDatagrid.SetDataBinding(myDataview , "") ' Se ...Show All

  • .NET Development DTD Validation for an XMl document

    Hi my xml file is shown below, everytime i try to validate it i get this error: error code:10728980207 error reason: The attribute {xmlns}sml on this element is not defined in the DTD/Schema error line: 16 Does anyone have any idea how to get rid of this error and validate the file successfully, there is a problem with my <sml:grid xmlns:sml="http://www.w3.org/TR/WD-XS/sml"> line Im not sure how to define the xmlns in my dtd/schema, is this the correct line to use Any help would much appreciated. THANKS. The XML File with DTD/Schema is shown Below: < xml version="1.0" & ...Show All

  • Windows Forms adding listbox content to certain lines of a text file

    Hi Everyone, I was working on this app for a while tonight and i was wondering could someone help me. I am making a app where you drag and drop files into the listbox and the filename shows in the listbox i have got that part out the way now i am on getting the filenames in the listbox to be appended to certain lines of an .ini file (for example like listbox entry 1 will go on line 32 so on and so forth.) here is what i hvae so far any and all help is appreciated button2 is where i want the process to occur Click Here to See picture using System; using System.Collections.Generic; using System.ComponentModel; using Sys ...Show All

  • Visual Studio Express Editions Dragging in Picture Box?

    Hello! I have this big map, bigger than the form is self... The map is in .jpg format... and how can I make it so that the map (a .jpg image) is draggable in the picture box component if it is not possible, are there ways to like draw out the image pixel by pixel and make it draggable If anyone just want to comment that it is merely impossible, please do so! Thank You! Keehun Nam well, I am searching but no question is resulted from the search box... Just one, although without any replies... Well, what I am trying to do is creat a picturebox effect like one they have on ...Show All

©2008 Software Development Network