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

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

Kamen

Member List

robinjam
Stinger_
Eigil
Alexei_shk
jaymoss
arch_angel81
InstallGuy
Sp_Prabu
Tom25
George2
Bilberry71
MA2005
kidwidahair
Jörg Riedmiller
decamo
mig16
ledwinka
WoodrowS
Paryse
Victor BA
Only Title

Kamen's Q&A profile

  • .NET Development Best Practice: Activity status

    I'm back again! For me this is a bit hard to grasp/tackle. My application has a UI and several other classes. I know that no class should interact with the other if its not needed, which is fine. I know about these things. If I have a class doing some work (not the UI), I want to be able to notify the UI of the status/activity that is going on in this work. Is it correct for me to say that I should create events which would be raised from this class, so that the UI will catch it and display the status to the user Obviously this "work" class knows nothing about the UI class, nor does it need to. All it needs to do is its work and then display the status of what its doing, wherever this status is displayed is none ...Show All

  • Windows Forms generic contextmenustrip

    I have a treeview that when i right click on it a contextmenustrip is shown. Actually there are different types of nodes in the treeview and each of them should have its own choices in contextmenustrip. The question is how to manage that, contextmenustrip gets the list of related choices from each node so that when the user click on that choice appropriate function will be called. Take it to consideration that i want each node to do its tasks instead of treeview. I think it would be better to use something like propertyGrid instead ContextMenuStrip , but im wondering is there any way to handle the propertyGrid so that it just has one column with customize display. imagine a propertyGrid with a bottun placed on it,( or a p ...Show All

  • Visual Studio Express Editions Suite integration toolkit failure during setup

    Hi ! "Suite integration toolkit failure " It is almost message that I received when try to install Visual Studio 2005 on notebook. I have installed Win XP Profesional with integrated SP2. When I, on the other harddisk, installed the same Win XP, installation of Visual Studio passed perfectly, without any error. But, on this harddisk which make me problems I have installed a lot of other thing and it would be a very big job to reinstall all of that. If somebody experieced solving the same problem and know right way to help, I will be very grateful to help me. Regards. Yes, I tried the solution recomend by Mr. "jfrasier" on that link. Problem is that my Win XP on notebook ...Show All

  • SQL Server Error on Configure Web Synchronization Wizard

    Got the following error on the last part of the wizard, after setting all the requirements: Setting the snapshot share permissions (Error) Messages The operation completed successfully. (Exception from HRESULT: 0x80070000) (mscorlib) Any tips thanks Mahesh Dudgikar - MSFT wrote: Are you trying to add a domain account or a mahcine account Is the machine in a domain or in a workgroup Thanks for the reply. The machine publishing the articles is just part of a workgroup. ...Show All

  • Software Development for Windows Vista SetupIterateCabinet failing from Custom Action .dll

    I use Visual Studio 2005 to deploy my application. I have a Custom Action .dll that's called during the Install phase. (The entry point is the standard Install( MSIHANDLE ).) I'm installing a .CAB file and am calling SetupIterateCabinet() from this Custom Action .dll and it is returning ERROR_ACCESS_DENIED. Appears as though Custom Action .dll's are not run with the UAC elevated privileges of the .msi file. I tried adding a .manifest to give the .dll elevated privileges, but then Windows XP barks that there is an unrecognized token. I need this .msi file to run under both Windows XP, Windows 2000, and Windows Vista. Because this is a Custom Action .dll there is no way I can wrap the function in a COM object and call it with ...Show All

  • .NET Development Why doesn't System.Array have an indexer?

    I'm probably missing something here, because my all of my searches came up with nothing. It seems only natural for Array to have an indexer. But instead, we have to use Get/Set Value(). Why is that Interesting idea. How about this: public class Base { private object[] values = { 1, 2, 3 }; public object this[int index] { get { return values[index]; } set { values[index] = value; } } } public class Derived : Base { public new int this[int index] { get { return (int)base[index]; } set { base[index] = value; } } } public static class Test { public static void Run() { Derived d = new Derived(); int i = d[0]; d[0]++; Base b = (Base)d; object o = b[0]; } } It ...Show All

  • .NET Development Benefits of upgrading to .NET 2.0 from End User perspective

    Hello, What are some of the benefits of upgrading from .NET 1.1 to .NET 2.0 from an End User's perspective Thanks, supports newer and better technologies and applications .NET 2.0 apps will not work on .NET 1.1/1.0 framework as those versions of framework will not support the new and exciting features of .NET 2.0 as well as enhanced security and performance .NET 2.0 has the greatest and biggest technologies to date some applications commercially, Windows OneCare, require .NET 2.0 to run it. ...Show All

  • .NET Development XSLT Irregular child order xslt:foreach

    I have a question. I have an XML file which is actually an XML representation of Excel VBA code (but don’t let that out you off!). I am commissioning a program to parse the code into three types of XML element which will be styled in three different colors. If you look at an Excel VBA environment you will see keywords in blue, comments in green and other text in black. I have a fragment of XML thus < xml version = " 1.0 " encoding = " utf-8 " > < vbacodemodule > < line > < keywords > Option Explicit </ keywords > < br /> </ line > < line > < br /> </ line > < line > < ...Show All

  • Visual C++ A Couple Template Questions

    Hi folks, I have a couple questions about templates. I'm using Visual C++ 2005 Express Edition 8.0.50727.762. Is there a reason why this compiles fine: ------------------------------------------------ template <typename T, int I> struct C1 {}; template <template <typename T, int I> class C1> struct C2 {}; int main (int argc, char * argv[]) { C2<C1> TEST; return 0; } ------------------------------------------------ But this does not (replaced class C1 with typename C1): ------------------------------------------------ template <typename T, int I> struct C1 {}; template <template <typename T, int I> typename C1> struct C2 {}; int main (int argc, char * argv[]) { C2&l ...Show All

  • SQL Server Tricky Query

    I have a data table like this: MachineID Product Sales ------------------------------- 1 Magazine $20.00 1 Drink $30.00 2 Drink $30.00 3 Magazine $30.00 3 Drink $40.00 4 Magazine $30.00 5 Food $40.00 5 Drink $30.00 6 Drink $40.00 One of the reports the user needs to see looks like this: Product Number of Machines Total Sales Magazine/Drink 2 $120.00 Drink 2 $70.00 Magazine 1 $30.00 Food/Drink 1 $70.00 To clarify: There are two magazine/drink machines (ID 1 and 3) There are two drink only machines (ID 2 and 6) There is one magazine only machine (ID 4) There is one food and drink machine (ID 5) How do I do this quer ...Show All

  • Visual Basic numericupdown control height not adjustable..?

    I can change the width of the numericupdown control but not it's height. Any ideas. I thought it might be a parent container (the panel it resides on) that is preventing that..but the width is adjustable so that is not the problem. hmmmm. thanks for any ideas. -greg ...Show All

  • Smart Device Development [Vista] + Device Emulator + Mobile Device Center

    Hello, I have just migrated to Windows Vista. Everything is working (for now :-) ), I only have some problems with cradling VS 2005 Pocket PC Device Emulator. (to be more specific, i would like to share Internet between my computer and my Virtual Pocket PC.) I learned, that Active Sync was changed with Windows Mobile Device Center and that the WMDC should install via Windows Update (i run everything and checked in control panel, but WMDC was not there). Next information I received was the following one: Your Windows Mobile device must be connected to the computer for Windows Update to be able to detect the driver update and install the update. The problem is, that I don't have a physical device, I am o ...Show All

  • Visual Studio Express Editions Simple download not possible due to 'System.Net.WebException'

    I'm trying to download a simple file from the internet by a System.Net.WebClient and I'm getting the following error: 'A first chance exception of type 'System.Net.WebException' occurred in System.dll' The program does not crash, I just get the "Unable to get IP." message instead of my IP, as the code says in line 10. Does anyone know how to fix this Here's the code I'm using (to get external IP address in a message box): Public Class Form1 Public Function getIPstring() As String 'This downloads the source of whatismyip.com Dim wclient As New System.Net.WebClient Try 'Download the source to the temp path wclient.DownloadFile("http://www.whatismyip.com/", "C:\temp\ip.txt") Catch ...Show All

  • SQL Server Grouping Data Problem

    Hello all I am using SQL Server 2000. I have a table of over 1 million accounting transactions. I need to be able to remove all items that have contra items. e.g debit £100 - credit £100 - debit of £125 ( I only want to see the debit of £125) I can achieve this in MS Access by grouping the key fields, suming the value fields and using the First() or Last() command for columns that I need to display but not group. How can I achieve this in SQL All help appreciated. I am still a little new to SQL so am not entirely sure what the 'schema' is so here's the code from the create table command: - Please note that I am importing data from an old DB3 file so don't have a lot of control over the data structure. ( [KEY] ...Show All

  • Visual Studio Express Editions image in picturebox

    Hi I wonder if anyone can help with a piece of code. I want a image in the picturebox to corrospond to a number in a text box . So I have put numerous pictureboxes on top of each other to show images as the numbers would change . But it only works once. How can I write code to clear the last command and accept the new command. ie new number = new image. Thanks Rob   First of all r = Double .Parse(TextBox1.Text) TextBox1.Text = r.ToString() Looks really strange. I think it should be an integer and look like this: Dim r as integer = Cint(TextBox1.Text) 'The nextpart should look like this: Select case r Case 2    PictureBox1.visible = true Case 3  &nb ...Show All

©2008 Software Development Network