Software Development Network Logo
  • SharePoint Products
  • Visual Studio
  • Audio and Video
  • Visual C++
  • Microsoft ISV
  • Windows Vista
  • Smart Devicet
  • .NET Development
  • VS Team System
  • Windows Forms
  • SQL Server
  • Visual C#
  • IE Development
  • Game Technologies
  • Visual Basic

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

Corres

Member List

locoLindy
ThoHot00
Fiddel
Mjaiswal
HowardRichards
Mystagogue
ebeofrei
Titu
regthesk8r
PerPixel
micah1990
dsandor
Amol Pophale
cutie
T-Smooth
radiorus
VBE_programmer
Malcolmw
Venkateswarlu M
horse20000
Only Title

Corres's Q&A profile

  • Smart Device Development from eVC 4.0 to Visual Studio 2005 Pro (urgent)

    When Iam trying to convert project from eVC 4 to Visual Studio 2005 Pro I got an error called " fatal error C1189 " C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxver_.h(77) : fatal error C1189: #error : Please use the /MD switch for _AFXDLL build " Could someone help me, Ho can I fix this proplem .. ...Show All

  • Software Development for Windows Vista Vista Slide Show -- No such interface supported

    When I click to view the photo in the Slide Show gadget that ships with Vista, I see a dialog box that has the path to the .jpg and below that "No such interface supported." I get the same message when I open Windows Photo Gallery, right-click on a .jpg, and select Open With... Photo Gallery Viewer. (After clicking "OK" here I see a second dialog with "System.IO.FileNotFoundException: Could not load file or assembly 'shimgvw' or one of its dependencies.") I can, however, double-click a .jpg in Windows Explorer, and it opens the file and displays the photo in Windows Photo Gallery, apparently using the Photo Gallery Viewer. When I first installed Vista, I was about to view photos using the Slide Show g ...Show All

  • SQL Server how can I substract a SUM from a SUM?

    first, I am using stiored procedure and here is my table structure: [item_id] [int] IDENTITY(1,1) NOT NULL, [item_guid] [uniqueidentifier] [company_reg_number] [int] , [file_no] [int] , [visit_id] [int] , [item_code] [varchar](50), [item_price] [decimal](6, 3) [created_date] [datetime] [created_user] [varchar](50) and I have debit and credits in the same table but I want to get the difference.. my stored procedure to return the result is: USE shefa set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================ ...Show All

  • .NET Development Webservices and dlls

    I have developed a web service and deployed it successfully, on local and remote web servers. A few days ago I added functions that loads a dll (which act as an entry point for a software I'm running). The dll in question connects by sockets to another server and sends some data, and then unload itself. The web service works fine if I use the web server that comes with Visual Studio 2005 but I get an exception thrown on any other web server. "'System.CannotUnloadAppDomainException' occurred in System.Web.dll Additional information: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)" I'm figure there is some permissions that needs to be given to the web service / asp.net user, but I can't seem to find where I set permissi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Blitting?

    I've checked through the XNA Documentation, but there doesn't seem to be any way to 'blit'. For those of you unfirmiliar with 'blit': Blit is a way to draw something. For example, say you create a "Texture2D" variable, set the size etc... But the texture is blank. The normal way to create a texture to this is to load up a bitmap image with it through the ContentManager, right But what if you want to use a whole sprite-sheet with many images Back to the blank, say, 65 x 65 bitmap image, you obviusly don't want this 2D image of the player to be a whole 1024x768 sprite-sheet. So this is where I used blitting in other programs, it basically asks for the x, y co-ordinates, and the length of the bitmap and takes a picture from that x,y and 'c ...Show All

  • Visual Studio How to enable sharing, branching and merging in VSS

    We have VSS 6.0 in our systems I want to know how exactly to enable the branching,mergign and sharing of files in VSS. I have never done this.Currently Under the source safe menu Only Share is enabled while Branch and Merge Branches Menu items are disabled. In VSS, sharing & branching works kind of "backwards" from other programs you may have used. You start in the desired target location, click Share, then select the source item you want to share to that location. In the UI, branching is treated as sort of a special case of sharing -- you can optionally branch an item during the Share operation, or use the Branch command on an item that's already shared. ...Show All

  • Windows Forms String.Format() problem

    Hi Is it possible to fill a remaning area of a string with a specific character For instance: String .Format ("{0,-15}" , "My Text" ) The output is: "My Text " I want the remaning of that string ( " " ), to be "---------" . Is this possible using String .Format() And instead of doing: for ( int i=0; i<10; i++) str += "-" ; Maybe this can be replaced with String .Format() somehow Kind Regards Then i think there is only one option use like it. String .Format("{0}{1}", "My Text".PadRight(15, "-"), "Another Text") ...Show All

  • SQL Server Open Xml

    Hi All, I have this sql syntax which displays the records within the xml but instead of displaying 4 records (3 records relating to the last question ID) but instead resulting in only two records picking only the first options 'Unhelpful'. Definitely doing something wrong here, please advise! DECLARE @doc xml SET @doc = '<DivisionName> <QuestInfo Custref="18759" SubDate="2006-01-01T00:00:00" Polref="30018759" AgentID="4189" ClaimRef="14024-5647-890"/> <DVName>Ho</DVName> <DvcodeNo>1</DvcodeNo> <ClaimGroup> <CustSurveyNo>4</CustSurveyNo> <ClaimGroupType>Water</ClaimGroupType> <Questions> ...Show All

  • Internet Explorer Development IE7 and page-break-before

    I have some code that uses page-break-before: always that works fine in IE6, but in IE7, the page-break-before is ignored. Was there a change in this behavior that I have not seen documented ditto on page-break-after too! nice forwarning from Microsoft before they had Yahoo! offfering the download ...Show All

  • Visual Studio Tools for Office Possible to store the assembly on a server

    Hello there, I'm wondering if it is possible to store the assembly on a webserver and have the word document "contact" the .dll on the server instead of having to store it on the local computer or on a networkshare Sure, you can store the dll on a website and then have the Word Document's manifest point to the URL (i.e. http://myserver/Word/Customization.dll ). The easiest way to do this is to publish straight to the Web Server, so the manifest gets linked automatically to the URL. Then the users can download the Word file and use it. Be careful with the policy part, you have to give permissions on every client machine for that particular dll, using a URL full trust permission. Please refer to this post for more de ...Show All

  • .NET Development How to obtain bandwidth and downloading rate

    Hi all: I want to develop a software like a peer_to_peer application in C#.But I don't quite know how to realize some functions such as getting a peer bandwidth,throttling and showing downloading rate. I google it ,and find a article " How to do bandwidth Throttling using C# .Net code ". But the website require you to pay for registration. :=>( can anyone tell me how to realize those functions or offer me some samples or some webs Thanks a lot. Well, as soon as you start P/Invoking native DLL's you've just restricted your application to windows-only, as opposed to windows/mac/linux/sega megadrive by running your app under Mono on those other platforms (mono works on windows ...Show All

  • Visual C++ /MTd and /clr options are incompatible. Why?

    Ok, here is the long story. I have a nice C++ component which statically links to about 10 libraries as well as links to ATL, C run-time library and MFC. Component is multi-threaded and it actually runs couple of threads inside but everything is nicely wrapped into one DLL which can be called from any .NET program. It was all fine until I tried to migrate this project from VS 2002 to VS 2005. After migration at first I got this message: Building MFC application with /MD (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD I checked settings and saw that migration changed runtime library option to Multi-threaded DLL instead of just Multi threaded. Well, I have no intention of having 10+ DLLs instead o ...Show All

  • Smart Device Development P/Invoke pointer

    I am passing a struct to unmanaged code. One of the parameters contains a pointer that should point to a local variable to return some 16 bit data. I can do this in an "unsafe" context and it works as shown below. Is there a way to do the same thing without using "unsafe" context Maybe IntPtr [StructLayout(LayoutKind.Sequential)] private struct MyParameters2 { public Int32 DeviceId; public Int32 Message; public Int32 User; public Int32 Parameter1; public UInt16 *Parameter2; } public UInt16 GetIODataRegister() { MyParameters2 wp = new MyParameters2(); UInt16 data; byte[] outbuffer = new byte[4]; wp.Message = WPDM_PRIVATE_READ; wp.Paramet ...Show All

  • Software Development for Windows Vista Register dlls in Vista

    I am using a much modified version of the VB6 P&D wizard, calling DLLSelfRegister in VB6stkit.dll. Under Vista this fails to register the dlls unless the user turns off UAC before running the installer. How can I code it to get the OS to prompt for a temporary lifting of UAC or elevation of status This explains the Vista behavior for "setup" programs - it's not just the name of the program. https://blogs.msdn.com/heaths/archive/2006/06/23/644545.aspx ...Show All

  • SQL Server sql 2005 install

    Hi, Installed sql server 2005 full version. Now in the start menu there is no management studio. Only the following are present; configuration tools sql server 2005 upgrade advisor documentation and tutorial Any thoughts please Thanks How did you install SQL Server 2005 Check this out for a guide http://msdn2.microsoft.com/en-us/library/ms143516.aspx ...Show All

©2008 Software Development Network