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

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

Shinmen

Member List

Sweeps78
Jonathan Ward
Divermarv
pukla
Lucas Condé
Charles Lewis
EFEXConsulting
tkrasinger
Hans L
Nightmare_BE
Raptorix
Chris Betancourt
_JLP_
Gerhardo
boran_blok_edan
AndrewBadera
l33t
dron747
a. Nova
Jamie Thomson
Only Title

Shinmen's Q&A profile

  • Software Development for Windows Vista conime.exe procedure issue in console application

    Hi all, I am using a non-western language Vista, when I start my console application, the extra procedure conime.exe (as I know, it's shared to use for all console application) is launched automatically. But when my console application exits, the procedure conime.exe still has some relationship with my console application, I can't remove my console application folder (my console application is installed, I launch it, exit it, and remove all files and folder of my console application). But after terminating the conime.exe procedure, I can remove my console application folder. On Win2l/XP, I can remove the folder after exit my console application, without terminating the conime.exe procedure. Since conime.exe is used for all console ...Show All

  • Windows Forms using mousewheel in treeview

    I want to use the mousewheel to scroll trough nodes in a Treeview, selecting und unselecting each in turn as I scroll. This will displays display certain related information about the selected treenode. My problem is that this also scrolls the entire treeveiw display up or down, often hiding the node I am trying to select with the mouswheel. I dont want the nousewheel to scroll the treeview. Essentially I want the mousewheel all to myself after pressing the middle mouse button to start the process. How can I acheive this Also, I cant quite figure how to determine how many mousewheel click occured. (e.delta always seem to be either +120 or - 120, but relative to what ). In practice the user might want to click down several nodes, b ...Show All

  • Visual C++ Duplicating System::String assignment in another string-like class

    One can create a System::String using the syntax: System::String ^ myString = L"A string literal"; Is it correct to say that this is equivalent to: System::String ^ myString = gcnew System::String(L"A string literal"); which is assigning the reference to another created system string If so, what System::String ^ constructor is being evoked to the right of the assignment operator ( = ) Is there a way I can diplicate this ability in my own string-like class and, if so, how This will work pretty much as specified in the C++ standard, I suppose. The rvalue will be attempted matched to one of String's constructors, and if no direct matches are found, the rvalue itself will be attempted c ...Show All

  • Visual Studio 2008 (Pre-release) Display transparent button image

    Hello, I created a StackPanel containing some Buttons in vertical order. The StackPanel has a specific background picture. The Buttons within the StackPanel contain images (PNG) with a symbol and transparent background. If I show the image on the button using the Image element, the background of the image is not made transparent. I can set the "Opacity" attribute of the button to true, but then the whole button becomes transparent, which is not my intention. I already converted the image to gif, but that didn’t work either. Isn’t Xaml able to determine transparency within pictures and to render it correctly or where is my fault Code: <StackPanel DockPanel.Dock="Left" Width="116" Height="768"> ...Show All

  • Visual C++ Linker conflict problem with mfcs80ud.lib and msvcrtd.lib

    Hi, I have been getting a linker conflict with my mfc /clr project : 1>mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in msvcrtd.lib(dllmain.obj) I have read all the articles which says you should change the linking order of mfcs80ud.lib and msvcrtd.lib by ignoring them and then adding them in the correct order in the additional dependencies box. I tried this and still get the same problem. I have now gone and created a blank project which uses common language support "/clr" option and the mfc as "use MFC in a Shared DLL" option. i created a blank cpp file and added the following lines of code: #include "stdafx.h" #include <afxwinforms.h> bool My ...Show All

  • .NET Development Add Web reference through coding

    Hi, I have created one Windows service and Web service.I want to add the web reference in Windows service.Can i add the web reference through C# coding.Please Reply me. Thanks. justin(Navya) Hi jason, Thanks for ur reply.I am using C#.net.Here u told ,"You must add web reference"I am asking how can i add web reference. /////Dim service as New WS.webservice().//////This code is for calling a webservice after added it.I want the solution regarding add a web refernce through coding.Please reply me. Thanks jason. ...Show All

  • Smart Device Development Tabpage, panel cann't capture mouse-click event

    Hi Experts, I am creating a form and putting one tabcontrol on that form, now i am trying to put panel control on one of its tabpage1. Now whenever i am trying capture any mouse event on that panel i am not able to capture any mouse event on that panel. one more thing i would like to add that i am handling that mouse events in another .cs file. for example: i have created a form in form1.cs and on that form1.cs i have created tabcontrolwhich contains two tabpages, and one the tabpage contains the "panel" and there is one another .cs file i.e "sign.cs" in which i am trying to capture the mouse event occured on that "panel". But it doesn't seem to work out. Am i missing something while initialisation of contr ...Show All

  • .NET Development Remoting server keeps crashing

    Hi I've written a simple Windows service that monitors printers and print queues using WMI. Clients can connect to the service using remoting to monitor and control the printers (clear the queue, pause/resume printing etc). Everything works fine most of the time, but every so often (once or twice a week maybe) the service crashes with no error message - the event log looks like: .NET Runtime 2.0 Error (Description EventType clr20r3, P1 myprinting.service.exe, P2 2.1.4.25131, P3 45129a57, P4 mscorlib, P5 2.0.0.0, P6 4333ab80, P7 4055, P8 a3, P9 n3ctrye2kn3c34sgl4zqyrbfte4m13nb, P10 NIL.) Every method in the remoted interface is surrounded by try-catch exception handlers - catching the most generic exception class but it doesn't see ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Unable to share a windows game - Followed the instructions on the manual

    Okay, so I finished my first game using XNA Game Studio Express, it has been only a few days since I installed it, and it has been quite easy, having experience at making games. Now, I want to show this game to my friends, so I send it to a couple of them (both of them have XNA Game Studio Express installed), and it works great. Now I want to show it to some other friends, these who do not know what making games is about, these who do not have XNA Game Studio Express. I ensure they follow these instructions, from the manual: Sharing a Windows game On Windows you need to distribute your game executable and any content required by your game. In addition you need to ensure that the user has the following redistributables installed ...Show All

  • Microsoft ISV Community Center Forums Testing for a Null date/Time field

    This is driving me mad, it should be all so simple, I have a date/time field on an Access form that I want to test if it is unfilled (null), if so put a check in a checkbox field, so .. if me.reminded = null then is what I'm doing, but it seems that the field is NEVER null (even though it is, str(me.reminded) gives an "Invalid use of Null" error) Someone help before this laptop goes through the window ...Show All

  • Visual C# Windows Service -- do I need to reinstall my service every time I change something?

    Question changing code in my Windows Service. Let's say I have a Windows service, MyService, which uses dll1 and dll2. When I build I see MyService.exe and dll1.dll and dll2.dll. Let's say I have changes in dll1 and dll2 but not in MyService. Assuming that I stop the service first, is it sufficient to just copy in the new dlls and restart the service, or do I have to actually do a re-install of the service I can think of no reason why I should have to reinstall (isn't it just the exe that gets installed ), and when I tried just copying over the modified dll it worked, but I thought I'd ask the question to be sure having been bitten by COM in a similar situation a couple of years ago. Installing a servi ...Show All

  • Visual Studio Express Editions VB6 - VBExpress

    Does VB6 coding work with VB Express 05 I'm guessing it doesn't as it isn't work for me I'm trying to follow this tutorial (http://bot-depot.com/about2022.html - Couldn't post a hyperlink for some reason)  but: 1) I can't find "Messenger AddIns type library" in the add resource list. 2) The code Produces errors. Any help is greatly appreciated. Maybe this old sample on GotDotNet will help. ...Show All

  • Visual Studio Express Editions Breaking execution when a variable reaches a certain value

    Hi all, I was just wondering whether there is a way in the IDE to break execution when a variable reaches a certain value. For example, in this code have the program break when 'i' reaches 201,000: for (int i = 0; i < 1000000; i++) { label.Text = i.ToString(); //Do something } I realize I can just stick and if statement in the code, but I was curious as to whether there was a way in the IDE. Thanks! Hi, you could do ... for (int i = 0; i < 1000000; i++) { label.Text = i.ToString(); //Do something i=1000000; } Bye. ...Show All

  • .NET Development looping through recordsets using .net

    Hi, I am trying to loop through 2 sql tables and update one table with data from the other if a condition is true. I know how to do this with vb but not with vb.net and can't find any help or examples. I have established a connection to the server to get the data but don't know how to loop through it and make the necessary updates. Can someone give an example Here is what my vb function looks like below, I would like to be able to transform this into vb.net and use in a script task in my sql package. Dim db As Database Dim rec1 As Recordset Dim rec2 As Recordset Dim test2 As Boolean Dim AppID As String Dim SortKey As String Set db = CurrentDb Set rec1 = db.OpenRecordset("qryScoresAll") Set rec2 = db.OpenRe ...Show All

  • Windows Forms Finding selected cell's info

    How do I retreive the selected cell's size(height and width) and position on click of the cell in the data grid view Thanks. Regards Alu On the click event or cell changed event use the following: DataGridView.SelectedCells(0).Size.Height Cheers, Luc ...Show All

©2008 Software Development Network