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

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

eroe

Member List

Dean2650
robben07160
Hans_Schmucker
Emmanuel Huna
Stéphane Beauchemin
WV John
Grmplse
Chris Bennet
Arthlan
Jaime Stuardo
Marie-Thérèse
Joel Martinez
DevDiver
Seiggy
Bodylojohn
David N.4117
Dea Cris
tm9t9
Kestutis
PepsiWales
Only Title

eroe's Q&A profile

  • Visual Studio Express Editions need help

    i need help calling a method from a new class. please help:) you need to explain a lot more than that. Let's see what we can do here. to call a method from 1 class to the other, the other class must be instantiated (if its not a static class, we will get to this part later). As well as this, to access a method, or property or event, from one class to the other, regardless static or not, it MUST be made public so it can be "seen" from the outside. Example: Class2 theClass = new Class2(); theClass.DoSomeWork(); DoSomeWork is a method in class 2 like this: public void DoSomeWork() { .... } if public was made private then you would get a compiler error. now if ...Show All

  • SQL Server iif/switch statement does not work in input parameter expression

    Hi There, One of the parameters that i need to pass to a stored procedure of my report, i wish to dynamically calculate from another input default parameter lets say parameter 'DrillDown' = "ABCDEFG" paramenter 'MyLevel' is calculated by either of the following a switch or iif statement: =switch (left(Parameters!DrillDown.Value,1)="A",1, left(Parameters!DrillDown.Value,1)="B",2, left(Parameters!DrillDown.Value,1)="C",3, left(Parameters!DrillDown.Value,1)="D",4, left(Parameters!DrillDown.Value,1)="E",5, left(Parameters!DrillDown.Value,1)="F",6, left(Parameters!DrillDown.Value,1)="G",7) --or-- =iif(left(Parameters!RepLvl.Value,1) = "A",1, iif(left(Param ...Show All

  • Visual C# code to uml diagrams

    plz tell me is there any tool which convert c# 2.0 code to uml diagrams other than class diagram :) jo bataya ga us es ghareeeb ki dua milay gi Pyaarey Adnan Bhai! See this http://visual-studio.qarchive.org/ Best Regards , Rizwan ...Show All

  • Visual C# byte array to bitmap

    Hi there, how can I create a bitmap within a byte array, using pinvoke I found functions like createBitmap, createBitmapIndirect in gdi32, but I don't know, how to use it, or are they the right functions. I have to use pinvoke!!! Somebody can help me Greets sirithvasa No thats not what I want to do.... I have to place this bitmap into a printable document like a pdf or sent the data directly to a printer, but this version saves the file to a disk, thats not want I have to do.. Sorry, I have forgotten to say, that I have to place this bitmap into a printjob or a document. ...Show All

  • Visual Studio 2008 (Pre-release) XMLData stored in variable

    I'm currently binding a listbox to XML stored in a file. Here is my current data source: < XmlDataProvider x:Key = " imageLibrary " x:Name = " imageLibraryProvider " Source = http://www.mysite.com/ImageLibrary.xml XPath = " Images " /> ... < ListBox Name = " ImageListBox " ItemsSource = " {Binding Source={StaticResource imageLibrary}, XPath=Image} "> I want to store the XML in a public property of the window instead. How do I tell the XmlDataProvider to bind to a property for its data Brian This is a Stab in the Dark....untested...but it could well work. Try Using an ObjectDataProvider...for ObjectType, ...Show All

  • Windows Forms Temporary Behavior, Need Help

    I am creating a control with a custom designer that should allow a data object to be dropped onto it, setting some properties. This object will be coming from another application. I've already been able to implement this by overriding the OnDrag events of the control's designer, but I'd like to do it "more correctly" by attaching a behavior to the control's body glyph and overriding those drag events. The idea being I could just add another behavior if I needed to support another drop source, as well as reuse them for other objects. This behavior/glyph should only be active during a drag operation, and more specifically during a drag from outside the process. Is there a clean way to do this Thanks ...Show All

  • Software Development for Windows Vista State Machine Exception Handling

    Can anyone tell me what the best practice is to handle exceptions in a state machine process. I would like to move the instance to different error states depending on the type of exception. It would seem that normal compensation processing is not available in a State Machine Regards Jaco I suggest that you create a simple state machine workflow. In the event driven activity throw an exception and debug the fault handler. This will allow you to step into the process and evaluate the result. I have had some issues with regards to catch and rethrow, but in most cases the out-of-the-box functionality works as advertised Regards Jaco ...Show All

  • .NET Development Can't figure out this error message

    Good Day all, I seem to have hit a dead end. I am "attempting" to write a web application to retrieve, insert and update information in a SQL2000 database. I can retrieve information just fine but when I try to update it I keep getting the following message: System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near 'UDPATE'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataS ...Show All

  • Visual C# Using the IS operator in a FOREACH loop

    I am either not understanding how the IS operator works or how the FOREACH loop works. I found some C# code that creates 1 object of 4 different derived classes (see code below). Those 4 objects are assigned to variables of an array of the "base class" type. A FOREACH is used to iterate the array. The FOREACH variable is the "base class" type also. In the FOREACH loop, the IS operator is used to find the object that is specifically one of the four derived types. Here is my question... Since the FOREACH variable is a "base class" type how can the IS ever evaluate to true since the type it is being compared to is a "derived class" type What am I missing Given: Class Employee - An abstract ...Show All

  • SQL Server Convert Oracle "connect by level < 10" into MS SQL server 2005

    I want to convert oracle " SELECT LEVEL R FROM CONNECT BY LEVEL <=10 " my bottom requirement is get 1 to 10 as a dynamic table inside a query. Ex: Select id, name, R from names N, (1,2,3,4,5,6,7,8,9,10) R WHERE id < 1000 If any one know something regarding this please reply me. Thx, Buddhika If you're looking for the hierarchical query in SQL Server, you can check here: http://www.databasejournal.com/features/oracle/article.php/3552521 Buck Woody ...Show All

  • Smart Device Development Makecab Umlaut character problem in filename

    Hi, I wrote a project which will download a cab file from the web and extract (extract utility) and replace the files on the local machine. So before replacing the files I make a cab of the old files with makecab utility. For this i use a ddf file and makecab with the option /f and the ddf filename. The problem is that whenever the file name contains any umlaut character the makecab displays an error file cannot be found. But if i save ddf file again in ASCII format and then try making a cab it works. But i cannot do this as certain characters cannot be represented in ASCII and i cannot avoid the umlauts as I am working in germany, where umlauts are comman. Is there any solution to it. The project is in VB.Net 2005. Thanks ...Show All

  • Visual C++ Specifying an output folder in VCBuild.exe command line

    Hi, I have a VS 2005 solution that contains VC++ and C# projects. I need to build each project in the solution separately. I build my projects using a NAnt script in which C# projects are built with MSBuild and the VC++ projects are built with VCBuild. The problem I am having is that I need to output the assemblies created by the VCBuild tool to specific folder and I do not know how to do this from the VCBuild command line…this is how the NAnt task looks so far for a VC++ project: < target name = " NetWrapper " > < exec program = " C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages\VCBuild.exe " > < arg line = " C:\NetWrapper\NetWrapper\NetWrapper.vcproj debug|Win3 ...Show All

  • SQL Server Absolute beginner - How do I carry out a STANDALONE install of MSSQL EE 2005

    Help!!! I want to install SQLExp2K5 with Advanced Services on a standalone basis on my Dell Inspiron XPS laptop (Win XP sp2, .NET 2.0; 2gb RAM; 8mb broadband; hardware firewall/router) so that I can learn SQL/VB/VWD, and want to use SQL E 2K5 without internet connectivity (at least until I know what the hell I'm doing!) Really confused as to what component(s), and services I should/should not install - so I've listed my questions below: 1. Service Account : As I'm not on / dont have a domain, i presume using a domain user account is not an option for me. Should I use the Local Service account If so, what are/can be the issues in doing so 2. Authentication Mode : Is Windows Authentication the one to use for a standalone instal ...Show All

  • .NET Development TcpClient & TcpListener On Windows Vista

    Hi! I'm trying build a simple tcplistener and tcpclient in VB.net. and when tcpclient try to connect with de tcplistener always give me the same error: " No connection could be made because the target machine actively refused it" I'm using Windows Vista, and may be this is the problem, because i have tried run the same code in other pc runnig with windows xp and run correctly. I have turn off Windows Firewall, i have open the port i going to use, i dont have other other internet security program... but the problem persist. I have the same problem with others server aplications, clients can not connect with me. Has Windows Vista some security featury or something for "actively refused" extern connections How i solve this problem ...Show All

  • SQL Server Full-Text Search Problem When I Upgrade from SQL 2005 Express to Express Advanced Services

    Hi. I'm trying to get full-text search working on my SQL 2005 Express with Advanced Services and am having problems. I thought that I installed it correctly, and when I look in the services running, I see it SQL Server Fulltext Search(MSSQLSERVER). Also note that I have SQL Server 2005 Standard installed on this same laptop. I don't know if that Full text Search applies to the Standard, Express or both. What I do see is that if I connect to the database engine named <mylaptop>, I can see the version is 9.0.1399 and I can see the check box to enable full-text indexing in a particular databases properties. When I run SELECT FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'), I get a 1. However, when I connect to the engine name <m ...Show All

©2008 Software Development Network