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

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

Pantomime

Member List

daydreamsy2k
thys
jsad923f
israelsaba
Bapa
Ondra Br.
Artschi
RohitAtKA
Kevin S Won
b6s
CFIG
Wasim
Magos294963
python_and_chips
TWild
Jas98004
C3i
Bapa
champa
Chuck_S
Only Title

Pantomime's Q&A profile

  • Visual Studio 2008 (Pre-release) Post back to Site Of Origin

    In an XBAP application I need to send (POST) data back to the site of origin to a cgi function, possibly using the System.Net.WebClient e.g.: myWebClient.UploadData("pack://siteoforigin:,,,/dat.cgi", "POST", data); But not suprisingly WebClient does not understand pack://..... Everything works OK if I use something like: myWebClient.UploadData(" http://192.168.0.100/dat.cgi ", "POST", data); where 192.168.0.100 is the site of origin. But I do not know where my application will be deployed. So the question is how do I resolve pack://siteoforigin:,,,/ to a Uri that I can use with WebClient or other classes in the System.Net namespace Or any other suggestions to help solve my problem ...Show All

  • Visual C++ Change indent style.

    Hi! Can someone tell me how to change indent style in VS (I was using Borland Builder for a while.) From K&R style: private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { } To this one (Whitesmiths ): private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)          {          } Thanks for any info! Thanks for help! Seems like there is no solution for this (if posts in this one correct http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=463163&SiteID=1  ). Too bad, but MS doesn't care about C++ developers ...Show All

  • Visual C# How to get returned String Array from C++ based DLL while called in C#(P/Invoke related)?

    Hi, I am a newbie in this forum. I want to use VC++ to develop a dll and integrate it in C# I searched internet and get some information from MSDN. But I still don't know how to return a string array from dll to C#. Like this: in C++: extern "C" __declspec(dllexport) int myFunc(char *** varTemp) { *varTemp = new char*[10]; for(int i = 0; i < 10; i ++) { (*varTemp)[ i ] = new char[20]; ::strcpy((*varTemp)[ i ], "My Test"); } return 10; }   in C# [DllImport("MyDLL.dll", EntryPoint="myFunc")] public static extern int myFunc(....);   What shall I use to replace "...."   Thx sinoapollo wrote: What shal ...Show All

  • Visual Basic Register a vb.net in another system

      I developed a vb.net class library(ClassLibrary.dll) in .Net.  " How to use that ClasLibrary.Dll in another system". I.e., I use the dll in AXAPTA. Is AXAPTA a COM/VB6 based application or a .NET based application How would you typically load a DLL created in VB6 thanks, Paul ...Show All

  • SQL Server Failed to open malformed assembly 'mscorlib'

    Hi, I was using one of features provided in Microsoft samples regarding StringUtilities.dll. It was running fine for couple of month. Suddenly I am getting the following error message when try to execute this command Select * from dbo.Split('123,25') Msg 6507, Level 16, State 2, Procedure Split, Line 1 Failed to open malformed assembly 'mscorlib' with HRESULT 0x80070008. Please Guide Thanks SqlServer process ran out of memory (HRESULT 0x80070008). I will file a DCR to make the error message better. Beysim. ...Show All

  • Visual Studio Team System Web Gui Front End?

    Hello all,      Do you know if there are any plans to implement a web gui for those that need to insert and track bugs and aren't familiar with the .net interface There is nothing supplied in the box with the current release, however there are third parties working on such things. The guys over at DevBiz have one called "Teamplain Web Access" that you can evaluate or purchase. See http://www.devbiz.com/teamplain/webaccess/ for more information. ...Show All

  • Smart Device Development associate Icon with application

    Hi, All, I was trying to associate an icon with my VS 2005 application, and I tried this: ATOM MyRegisterClass(HINSTANCE hInstance, LPTSTR szWindowClass) { WNDCLASS wc; wc.style = CS_HREDRAW | CS_VREDRAW; wc.lpfnWndProc = (WNDPROC) WndProc; wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hInstance = hInstance; wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MYICON)); wc.hCursor = 0; wc.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH); wc.lpszMenuName = MAKEINTRESOURCE(IDM_MENU); wc.lpszClassName = szWindowClass; return RegisterClass(&wc); } But it didn't work... For the SDK, it says: hIcon is not supported... Could any one can tell me how can I associate my app with an Icon Man ...Show All

  • Silverlight (formerly WPF/E) Mouse Click ?

    Would WPF/E support a "MouseClick" (mouse button down - mouse button up without drag) event With work-arounds so far I have been able to handle all possibilities, but it would have been so much easier to be able to count on the mouse-click event as in most other environments (SVG comes to mind). ...Show All

  • Visual Studio Express Editions Hyperlink to a button

    How can I add a hyperlink to a Button in a form, so that when i click the button a website opens. Wayne, My code is longer sometimes because I don't always remember the shortest syntax. I was thinking it was something like 'Shell( www.dogpile.com)' off the top of my head. When my quick test with that didn't work, I just took the first code I could find that I knew would work to give the requestor something to work with. Depends on how much time I have to look up the right references. I haven't tryed to write any web browser apps. I just hack together something real quick when I am on a webbrowser question. You, and others are quite welcome to post additional (read better) code than what I have posted. It ...Show All

  • .NET Development Design control problem

    I made inherit Button control with XP look. Control is OwnerDraw type because I want button control with XP look on Win2000. Control have two property BottunStyle and BottunShape. For that purpose I create class with two enum variable. public class eButtonType { public enum ButtonStyle {Default, Blue, OliveGreen, Silver}; public enum ButtonShape {Rectangle, Ellipse}; } In class XPButton I created two property and two private variable m_btnStyle and m_btnShape private static PKH.XP.Controls.eButtonType.ButtonStyle m_btnStyle = PKH.XP.Controls.eButtonType.ButtonStyle.Default; private static PKH.XP.Controls.eButtonType.ButtonShape m_btnShape = PKH.XP.Controls.eButtonType.ButtonShape.R ...Show All

  • SQL Server join several fields to create new field

    What would be the recommendation/approach in creating a seperate field in which joins several differate fields together. I have a table with field name a, b, and c. I want the information in those fields to be populated in a seperate field, d. So instead of: a 122 b joe c st I would have: d 122 joe st Thanks! This works ... sort of. If there are any null fields, it returns nothing. So is there a way around that. Something can be built into the view that handles: if null then '' otherwise d + ' ' ...Show All

  • SQL Server Security to Create .Net Database Assemblies

    If a user is NOT in the SSAS server role but is a database administrator on a particular database, should he be able to add a .Net assembly to the database I cannot make this happen. Even when using "Safe" permissions and when using the credentials of the current user. Can anybody tell me if this is by design or no I can't find it in the MSDN docs either. That is correct: In Analysis Services 2005 only Analysis Server administrator can deploy .NET assemblies. Hope next version of the product will give you more flexiblity. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Smart Device Development Problem with Microsoft.ApplicationBlocks.Updater

    Hello. I use ApplicationBlocks.Updater to download updates in runtime. I have a configuration file with necessary authentification data (username, password, type). I try to download manifest file from remote server. It uses method "private string DownloadFile(Uri uri)" from file ManifestManager.cs. This method have some code in its beginning: WebRequest request = WebRequest.Create( uri ); AuthenticationType method = AuthenticationType.Anonymous; if ( new UpdaterConfigurationView().ManifestManager != null ) { method = new UpdaterConfigurationView().ManifestManager.AuthenticationType; } ........ So, the problem is that new UpdaterConfigurationView().ManifestManager is always null value, due to t ...Show All

  • Visual Studio Team System Which VSTS to buy?

    Hello, I have been evaluating VSTS which is about to expire in the next few days. I am contemplating buying a license, and need some help in determining which is the right one for me. I am an independant software developer. I currently have Visual Studio .Net 2003 Professional. I am also interested in setting up Team Foundation Server on my network. Looking at the Purchasing Visual Studio 2005 page on MSDN, should I contemplate buying Visual Studio 2005 Team Edition for Software Developers with MSDN Premium Subscription upgrade listed at $2,299 In particular: 1. I assume my current VS.Net 2003 Professional entitles me for an upgrade 2. Am I right in assuming that it includes Team Foundation Server Workgroup Edition 3. How m ...Show All

  • Visual Studio 2008 (Pre-release) Smart client callback

    Hi there, I'm just learning wcf technolgy and it should be great. However, i have a question about how to implement callback. I have a smart client and a service under iis. My client call it's method and it's ok. I want to do something more complex now. I want to notify my smart client when a external event coming. So I would like to have a service with a method that i can invoke and the service method implementation will able to notify one or more smart client. Is it possible to do this Thanks a lot for this help Best regards, Hi Kevin, Do you know if there's a way to have the same behavior with a SessionMode for the service contract to SessionMode.Single If there's no way, as i suspect, what's ...Show All

©2008 Software Development Network