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

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

migeold

Member List

Tamim Sadikali
krubug
samujob
vtortola
Jesudhas
NeW2VB
Scott Leclerc
Tigerwood2006
Nickeay
yxrkt
Montse
HbH
bird.tw
Steve Jensen
Chayodyn
ayatollah
Jourdan
praveench2k
MrSock
Steve1999
Only Title

migeold's Q&A profile

  • Windows Forms How to print image with print document control

    Hi, could somebody tell me how to print an image with a print document control please thanks. Simply draw the image on the graphics device that is available via the PrintPageEventArgs... Eg: at http://www.timvw.be/print-a-control/ i draw a control into an image.. And then i simply call e.Graphics.DrawImage(....); ...Show All

  • Visual C# Accessing data in a non managed C++ DLL

    Hi I have successfully been able to interface to and call functions in my non managed C DLL from my C# code using for example [ DllImport ( "native.dll" )] public static extern short myfunction(); Is it possible to access global data in the C dll also I cannot seem to find a way to do it. In the C DLL I have __declspec ( dllexport ) int mainwnd; and then tried in C# public static extern int mainwnd; but this gives a compiler error error CS0106: The modifier 'extern' is not valid for this item I am new to C# so may be missing the obvious. This is basic code without error handling: DllImport("kernel32.dll", CharSet = CharSet.Unicode)] static ...Show All

  • Windows Live Developer Forums Java & Windows Live Mesenger Compatibiliy Issues with Windows Vista Ultimate 64 bit

    Ok! I hope someone out there will be able to give me a hand with respect to this issue! I've recently changed from XP over to Vista Ultimate X64 and I have to say I'm starting to get over (and rather frustrated) with the whole "WOW" experience that is Windows Vista! The lack of drivers I can live with but problems with software built by Microsoft is a whole over ball game. Specifically, what my problem relates to is that in connecting up to WLM, the program only takes me as far as the contacts menu before it subsequently crashes with only a pop-up box stating that "Windows Live Messenger has stopped working" whilst simultaneously attempting to obtain a solution of the internet which is consequently not forthcoming. In seeking to obtain ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game Components, Game.GameServices and GraphicsDevice

    I've been working on some Game Components and was following an article by Mitch Walker about exposing GraphicsDevices between Game Components through Game.GameServices . I thought I'd try it out as it would make things so much easier.So, I went through the article and implemented what was needed, but I still can't get at the GraphicsDevice for some reason. Inside my Game Component, I have: private IGraphicsDeviceService GraphicsDeviceService; public override void Start() { // TODO: Add your start up code here GraphicsDeviceService = this.Game.GameServices.GetService<IGraphicsDeviceService>(); GraphicsDeviceService.DeviceCreated += new EventHandler(GraphicsDeviceService_DeviceCreated); GraphicsDeviceService.DeviceReset + ...Show All

  • Windows Forms Using CodeDomDesignerLoader

    I am creating a form designer for use within an application, but I am having a problem. Playing with the example on the MSDN magazine tool. If I drag one of the base control, it seems to work find, but if I drag over a custom control I created, it doesn't seem to display on the designer, and no error seems to occur. If I use the BasicHostLoader, it seems to work fine. If someone knows what I am doing wrong, please let me know. Thank you ...Show All

  • SQL Server Deployment on load balanced servers.

    Hi, I'm trying to solve the problem with deploying sql code on load-balanced application server. Normally when we put new feature\fix live we take one server out of the loop, than we put new app code, we test it and then we bring it back to the loop. But we've started to have a problem when we had to change stored procedures at the same time to run the new app code, becouse either 'test' server won't work either production application won't work. I wonder is there any good solution for this problem. Regards Piotr. P.S. Sorry for the forum topic but I didn't know where to put it. That was very helpful, but I'm more after stored procedure versioning solution. Sometimes we need old and new code running (part of requests are hitting old ...Show All

  • Visual C++ Life is a box of bitter cyanide pills!!!

    #include <stdio.h> #include <stdlib.h>   int main( void ) {         unsigned __int64 Oneline;         char buf[ 7];         FILE *fptr;           if (( fptr = fopen ( "test.jpg" , "rb" ) ) == NULL ){             printf ( "Cannot open file\n" );             exit ( 1 );       }             fread ( buf, 1, sizeof (buf), fptr ); //    &nb ...Show All

  • SQL Server Integrating data from two Tables into one

    Hi all, In case I have two tables. In them there is data and I want to integrate all this data into one table. that is to say Table A and Table B has data (Both A and B are from the same database) I want to integrate all this data into Table c. How do i go about this Regards, Ronaldlee Ronaldlee Ejalu wrote: No men, you are not rude. Okay, I do not have any idea about the JOIN or UNION Transformation. May be you can recommend. I need table C to have all the five columns from table A(3Columns) and B(2Columns). OK, that's useful! Ronaldlee Ejalu wrote: I need to find a way to join Table A and B.(Is it possible ) Only you can answer that. Is there a field in each of ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. New to this - Keyboard Input

    Hey guys. I'm pretty new to the C# language. I've downloaded XNA and I've been messing around trying to create a pong game. So far I've managed to get the two paddles on the screen along with a red ball. I want to add keyboard input to the two paddles (they are sprites). I've been looking around on how to add keyboard input, but the more I look, the more confused I get. If someone could help me that'd be great. Some other things I am in the dark about are how to make your window application a bigger size, and if there is a coordinate plane for the window application. I normally find myself just guessing coordinates for my sprites untill they are places where I want. Thanks. The way I handle keyboard input ...Show All

  • SQL Server OpenQuery() to Linked Server hangs, leaving SPID with open tran, then templog.ldf grows without limit.

    Hi, We have a customer that is using SQL Server 2000, and experiencing the following intermittent problem -- occasionally templog.ldf will grow and grow until it fills the entire disk. This is a rare problem, it has happened less than 10 times in the past two years, for a job that runs once a minute. But it has happened on 3 different SQL Servers, (two production servers, and one test server). Our suspicion is that the root cause is an OPENQUERY() to pull data from a linked server (Oracle database on Unix). We have seen that these OPENQUERY() statements occasionally hang and cannot be killed. The OPENQUERY() is used to populate a local table, and when we originally populated permanent tables with OPENQUERY(), then there would be a ...Show All

  • Visual C# Unicode type writer for Gujarati Typing.

    Hi, I create one application in VS2005 with Unicode support. My application work fine but I face one problem how two type local langu age (like Gujarati Unicode is “gu-IN”) so user type like that natural language. Regards, Harshad Prajapati ...Show All

  • Windows Forms Missing Icon in Add/Remove Programs for ClickOnce Application

    I am currently working on a ClickOnce application, and I noticed that a default icon is used instead of the actual application icon in the Add/Remove programs list. The icon displays correctly in the start menu. Is this a known limitation of ClickOnce applications, or can it be fixed I was able to come up with a solution, but it involves editing the registry. Below is some sample code: RegistryKey myUninstallKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Uninstall"); string[] mySubKeyNames = myUninstallKey.GetSubKeyNames(); for (int i = 0; i < mySubKeyNames.Length; i++) { RegistryKey myKey = myUninstallKey.OpenSubKey(mySubKeyNames , true) ...Show All

  • Visual Studio Team System Easy question

    I can view my work items as tasks in the Pending Changes window and check them off as resolved. How can I "check in" these changes so that the work items are actually resolved The system thinks I have no pending changes. TIA, Mike Rodriguez I think it sounds like he's just trying to complete the work items but that they don't have associated pending changes in source control. In that case, the pending changes tool window isn't the right place to be. He should just edit the work items directly to mark them as finished. The work item functionality in the pending changes tool window is all about associating source file changes with work items when checking in those source file changes. ...Show All

  • Software Development for Windows Vista workflow not compiling

    hi, when i have workflow without code activity i am dynamically able to compile it but when i am adding any code activty or any other activity which is referring to some variable or method in code besides file i am not able to compile workflow dynamically it is giving error member not found please suggest me the solution for this. here i am putting code Dim objWorkflowCompiler As WorkflowCompiler = New WorkflowCompiler() Dim objWorkflowCompilerParameters As WorkflowCompilerParameters = New WorkflowCompilerParameters() objWorkflowCompilerParameters.LanguageToUse = "VB" objWorkflowCompilerParameters.ReferencedAssemblies.Add( "C:\CompileWorkflow\CAWorkflowService\bin\Debug\C ...Show All

  • .NET Development TableAdapter missing the update method

    Hi all, I am trying to call the update method of my table adapter that was automatically created by dragging the table from data sources view. However, it appears that the update method doesn't exist Only Fill and Getdata. Even on single tables this happens Is there a known bug here. I am currently using VSTO 2005 and excel and it is extremely frustrating! I have followed this code (using my database instead of northwind) and no update method on my tableadapter http://msdn2.microsoft.com/en-us/library/4esb49b4.aspx Cheers Damien I have tried this about 50 times. I have tried with another database in the same project and this table worked ok. The table has a primary key defined and still now ...Show All

©2008 Software Development Network