Software Development Network Logo
  • Visual Basic
  • VS Team System
  • .NET Development
  • Visual C#
  • Windows Vista
  • Visual C++
  • Game Technologies
  • Windows Forms
  • Microsoft ISV
  • Smart Device
  • Visual Studio
  • Windows Live
  • VS Express Editions
  • SQL Server
  • Visual FoxPro

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

OptikDev

Member List

Integrator
Bruce Bukovics
Hannodb
Dawn H
cyles
vishalavat
mirolslaw
ok_woei
jankoesp
Thomas Irvine
Joel in Redmond
MikeTheFid
apaspula
David So MSFT
J B Li
Michael W
MadAboutC#
MichelleMcKelvey
myso77
skimum
Only Title

OptikDev's Q&A profile

  • Visual Basic How to change brush color...?

    I have a fontdialog where I pass the font type, size and color to a lable control. Then in the document drawing I want to pass the color from the lable control to the brush....it is not constructable I have tried this... Dim FontBrush as new brush & system.drawing.brushes.brush then with fontbrush .color = labelcontrol.forecolor end with... It dont work......how the heck can I specify in the drawstring funtion a brush color OTHER than the ones listed in the dropdown There are three brush types, SolidBrush, GradientBrush and TextureBrush. You probalbly want SolidBrush, in which case there is also a ...Show All

  • Windows Forms Master Detail grid with typed dataset.

    I have read a lot of article which explain the Master Detail DatagirdView which is from two tables(Customer and CustomerOrder) . But mine is a bit complicate, hope someone can help! I have a Typed Dataset(Dataset1), which is from two store procedures(GetBrokerFirm, GetBroker). I am also using the Application Blocks(SqlHelper) Master Grid should show data from GetBrokerFirm. Detail Grid should show data from GetBroker. I have two issues. 1) Detailgrid show all the data instead of Mastergrid related data. 2) Detail grid is not refresh, when I select the Mastergrid. Here is my code. //private variable privat ...Show All

  • Software Development for Windows Vista Trouble with WebService and Persistence

    Hello all, I'm newer to the workflow world and I have a few questions : First, a little background: I've currently got a very simple sequential workflow wraped in WebServiceInput and WebServiceOutput and all interfaces and everything are setup correctly.  I use the publish as web service option and all is well. I then try to execute the web service using the "Invoke" button that is on the default web service form:  I then get this error: System.InvalidOperationException: The workflow hosting environment does not have a persistence service a ...Show All

  • .NET Development client side datatable select

    Hello, Is there a way to execute sql against a client side datatable object I have a client side datatable object (that was initially populated from backend sql server table) that contains CustId, StateId, CustTypeId. Is there a way to get a list of unique CustIds contained in my client side datatable object - in other words is there something I can do CLIENT SIDE that would equate with select distinct CustId from MyClientSideDatatableObject   Thanks for your help ..... gtr That all depends on what you mean my client - Windows, ASP.NET If you're referring to Windows, and the obj ...Show All

  • Smart Device Development OnPaintBackground does not fire!!

    hi, i am creating a class that inherits LinkLabel. I am trying to override the method OnPaintBackground to make it transparent but it seems it is not fired. any idea why or how can i make my LinkLabel transparent regards, rnv Unfortunately, the .NETCF LinkLabel control paints its entire client area in its WM_PAINT handler. Even if you could override OnPaintBackground, it wouldn't do you any good. ...Show All

  • SQL Server Remote connection of SQL Express

    Good day! I'm trying to make remote connections to SQL Express and it seems that it is not working. Below are the steps that I did - TCP/IP enable in the "Protocols for SQLExpress" node - Since I'm not going to use SQL browser, I clear out the value for "TCP Dynamic Ports" and instead create my own TCP Port number - I add my windows authentication to the dbase that I want to try to connect remotely - Add the sqlsrver.exe to the exceptions of the firewall but even I turned-off the firewall already it still not connecting. My error message is "An error has occurred while establish ...Show All

  • .NET Development How does Process.Start() redirection work?

      Hi All,      I've been working on creating a program that automates my program building and testing.  I am doing the code in C#, but there is a problem with the StreamReader.ReadLine() function where if it tries to read from a Process output pipe before the Process finishes writing to the pipe, it causes the thread reading from the pipe to block and the process then blocks too.  However, if the process is short lived, I have a likelier chance of getting all the output.  So now, I'm testing the Win32 API equivelants and a portion that I'm having issues on is collecting the stdout and stderr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C++ or C# ??

    I've been programming professionally for 8 years - all web and business programming in ASP, ASP.NET, and Java. I have a very solid knowledge of OO application development but I'm simply not challenged. The apps are all the same - build database, put front end on database to present data, allow data to be edited/updated, allow data to be deleted. Wash-rinse-repeat. I've been a gamer since I was 8 and I still play games like mad (own a PSP, DS, Xbox, and XBox360). It seems to be the only thing that has really stuck with me (I know, pathetic for a 36 year old! ) and I feel like I need to modify my skillset and break into game programming. ...Show All

  • SQL Server CLM

    Can someone send me the link to the primary Sql Server (2000 preferably) MS forum   Or is this it You can certainly post your SQL Server 2000 questions here.  You might also take a look at this site http://www.microsoft.com/technet/community/newsgroups/server/sql.mspx   for additional newsgroup resources. ...Show All

  • SQL Server Reporting Services Instance not found

    Hi, I am getting the following error - "Report Services instance could not be found".  However, from services, I am able to start and stop SQL Server Reporting Services.  I get the error when I try to connect to Reporting Services from Management Studio.  I am using Sept CTP.  How do I verify that I have this installed correctly   From the folder structure, I'm seeing MSSQL.1, MSSQL.2, and MSSQL.3, so I am pretty sure I installed all components that's on the CD. Any help is appreciated! -Lawrence How did you fix this problem I am getting the same error. Any one have clue Pleas ...Show All

  • Visual Basic Unhandled Exception Error

    I get a unhandled exception error when I start the Code Snippet Editor. Is this because I only use c# and have not installed the VB components in VS 2005 Pro   Andrew     See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object.    at SnippetEditor.SnippetPathsManager.getLocalisedName(String name) in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\Helper classes\SnippetPathsManage ...Show All

  • .NET Development MDX + .NET Framework 2.0 + VCS Express Edition + Win XP x64

    Hi, For any CS code that uses managed D3D : everytime I try to compile an app. w/VCS Express Edition under the 64-bit edition of Win XP, the app. compiles ok but as soon as it is executed an exception message appears telling that the app. is not a real 32-bit native one. As far as I'm concerned, after installing .NET Framework 2.0 under a x64 OS, both versions -32 bits and 64 bits- are installed on the machine. So, it seems that, by default, compilation of the code a/o execution is hooked to the 64-bit assemblies of the Framework. Is there any workaround for this issue (if I use .NET Framework 1.1 instead with VS 2003 the app. com ...Show All

  • Visual Studio Team System Application locked - error creating configuration section handler

    I am using the patterns and practices Enterprise Library for .NET Framework 2.0, so the web.config files of my middle tier web services of my app contains configuration for the enterprise library exception handling and logging. For example: < xml version = " 1.0 " > < configuration >   < configSections >     < section name = " exceptionHandling " type = " Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling " />     < section name = " loggingConfiguration " type = " M ...Show All

  • Visual Basic Web Service setup help needed

    Hi all, I'm in the process of learning how to create and consume web services. I understand how to create the service and how to access the service from vb.net but what I don't know is how to set something up that my web service runs on. I don't have a website to publish the service on so I've briefly looked into ways to set up some kind of desktop emulation or host service that I can use. I've seen references to IIS running on the desktop as well as something else (I'm drawing a blank and can't remember the other service). Can anyone point a link out on the easiest way to set up and test a new web service There has to be an easy wa ...Show All

  • Smart Device Development SerialPort Component IOException issue

    I have a Ipaq Pocket PC.  It connects to a bluetooth GPS Receiver (COM6).  Whenever I try to open this COM Port using the SerialPort component I get an IOException.  I have even tried listing all COM ports on the PPC, and opening each one inturn.  Some work and some throw an IOException. Does anyone have a suggestion I think you will find that even though an IOExeption is raised, the serialPort is still open. put a try catch block around the open method, and do nothing. after opening the port, try reading/writing to it. Cheers ...Show All

©2008 Software Development Network