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

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

Bigbyte

Member List

Adam Calderon
dsutherland
SamuelNguyen
qaiser
Riaz Ahmed
Alistair Black
Del Robinson
Venugopal Gummuluru
Uriel
StRoNg-WiLLeD
retuchntousender
steve_thomas
AndrewLittlejohn
CougarKitE
keajatthew
Frails
Mike Waldron
sburggsx
yonatanh
B0rG
Only Title

Bigbyte's Q&A profile

  • .NET Development HttpFileXfer failure

    I haven't exhausted all options yet to find out why it is not working but decided to post this question anyway. I am playing with HttpFileXfer which is one of the projects in DeliverySmartClient as part of the directory HTTP Communication Sample which in turn is a part of .NET Compact Framework Samples that I downloaded from MS websites. I've got two computers with Win2K on each. I am the administrator on both. They are physically separated by about three city blocks. I am trying to run a C# sample not VB. I think I followed all the instructions of the readme file. I set up the virtual web directories recommended on both computers. ...Show All

  • Software Development for Windows Vista Calling CreateProcessAsUser() from service

    According to some MS documents (e.g. http://www.microsoft.com/whdc/system/vista/services.mspx), it should be possible to use CreateProcessAsUser() API in a Vista service to create a process in user session. I am trying to achive this, but the function returns error code 1307 (ERROR_INVALID_OWNER) = "This security ID may not be assigned as the owner of this object." Does it work for somebody Many thanks in advance. The same code works for us on Vista as on XP, etc. The service is running as the Local System. 1. use WTSGetActiveConsoleSessionId to get the ID of the current active Windows session ...Show All

  • Visual C++ What is managed, unmanaged ?

    Hi all, i'm not totally clear with some concepts about managed and unmanaged code. I'm asking myself some questions, i hope you can answer to one or maybe more ... : I've a MFC application, I want to use the dotnet framework by switching to /clr compilation mode and some code line like this : StreamReader ^ sr = gcnew StreamReader( "file.txt" ); String ^ myText = sr->ReadToEnd(); Is my application in CLR, or only the call to the framework what is managed / unmanaged - I've a winforms application, compiling with /clr:pure , i'm calling such a function : int add (int a, int b)= gcnew StreamReader( "file.txt&qu ...Show All

  • Visual Studio 2008 (Pre-release) Compiler bug?

    Is is just on my machine or is it a bug This is ok: new Funclet(() => "a")(); This is ok: new Func<String>(() => "a"); This is ok: Func<String, String> func = s => "a"; This is ok: Action<String> action = s => s = "a"; This is NOT ok: new Action<String>((s) => s = "a")(); This is NOT ok: new Func<String, String>(s => "a")(); Here are the errors: CSC : error CS0583: Internal Compiler Error (0xc0000005 at address 5A1CCFAE): likely culprit is 'BIND'. TestBug.cs(48,7): error CS0585: Internal Compiler Error: stage 'BIND' TestBug ...Show All

  • Visual C# regarding the selecting of child rows of datagrid when it is displaying in master and child relation ship

    Hi I am using the datagrid control in .net 2.0. As datagridview is not supporting master and child relationship of data so i am using datagrid of 1.1. I am displaying data in master and child relation in the same grid. i,e allow navigation property is true.I have check boxes for child rows.how can i check whehter they are checked or not. Thanks & Regards Bhargavi ...Show All

  • Architecture Windows Zip

    Hi Is it possible to use the windows zip function on the command line I want to incorporate this into my program. I know there is an add on for win zip but was wondering if its possible to do with the windows own version... Cheers Hi! You mean using Compressed Folders I think it's possible if use Shell API, because Compressed Folders incorporated into Windows shell. ...Show All

  • Visual C++ ambiguous symbol

    Trying to compile a C++ WinForms Winsock related project with /clr option I get a few errors after adding #include <winsock2.h> statement. The reference is to a different header file: servprov.h . There is no direct reference in any of my files to this header. I verified it with quick find command. There is no reference to it in winsock2.h either. I do not know where the reference is coming from. Thus my first question is this: how come I get errors (8 total) from a header file that is not a part of my project explicitly. As far as I could determine, serprov.h is being referred via #include <servprov.h> in four other header ...Show All

  • Visual Studio 2008 (Pre-release) Excluding generic base type from proxy generation

    We have some objects that have a base type (MyBaseType<T>) that we don't want to include. Is there a way to exclude this common base type from the proxy generation via svcutil I tried something to the effect of: /excludeType:MyNamespace.MyBaseType`1 but that didn't have any affect. Any ideas Thanks, Steve -- contents of file to generate our proxies is below: del *.xsd del *.wsdl "..\..\..\lib\winfx\svcutil" /r:../../../MyProject\bin\Debug\MyProject.dll ../../../MyProjectServices\bin\MyProjectServices.dll "..\..\..\lib\winfx\svcutil" *.wsdl *.xsd /excludeType:MyProject.BaseEntity`1 /d:"../&quo ...Show All

  • Visual Studio Problem with Class Designer and Pages and Controls

    I'm trying to create a class model for some pages and controls in my website.  However when I drag any of them to the class diagram I get an error "Some of the selected types cannot be added to the class diagram.  From a previous post there was a comment saying you cannot model these types. Is this still true, and if so does anyone know of a work around    I also tried reverse engineering to Visio, but the model only shows the true classes, again  not the pages or controls.  We used the reverse engineering alot in VS 2003 to show class diagrams, and the sequence diagrams for our more complex processes. Tha ...Show All

  • Visual Studio Express Editions Timer Windows Service

    Hi guys. I got a Timer Windows Service that do some importing of txt file to sql server and then run some procedure at the same time. So Every 30 min. the Timer will elapsed and do its work. Now i'm having a issue is when the process could not finish on time then the timer elapse and run the process again... how can i do my code in such a way that to queue it . here and example of my code.. Private Sub InitializeTimer() If timer Is Nothing Then timer = New System.Timers.Timer timer.AutoReset = True timer.Interval = 60000 * 30 '60000 = 1 min ( 30 min ) End If End Sub Private ...Show All

  • Visual Studio 2008 (Pre-release) GridView representation of XML

    Hi, I am trying to display the contents of an Xml Document in a GridView. An example of the the Xml is as follows; <Table> <Column>Name <Cell>Dave</Cell> <Cell>Pete</Cell> </Column> <Column>Age <Cell>32</Cell> <Cell>26</Cell> </Column> </Table> I want the GridView to look as follows; [Name] [Age] Dave 32 Pete 26 That is, in tabular form. My Xaml contains an XmlDataProvider; <XmlDataProvider x:Key="TableModel" /> and the C# XmlDataProvider xml = (XmlDataProvider)FindResource("TableModel"); xml.Document = doc; Each Gr ...Show All

  • .NET Development Lookup

    I have two tables Dossier and Rolhand I'am trying to get the newest date from table rolhand into dossier. <-- Text in Red I'am using virutal field, but i can't get it to work. Table: Dossier * DOS_ID     Rol_id           Rol_date ------ -+--------------+------------ 1            05dak-91          21-01-05        <-- this is not working, YET 2            02man-11  ...Show All

  • Windows Forms Brick wall reached...assistance needed

    Hi All! I am writing an app in C#. I need to be able to display text (.txt) files created by the app in dialog boxes. I can do this in vb.net all day long, but cannot find reference for doing so in C# .NET. If someone could please, PLEASE point me in the right direction, I would greatly appreciate it. Thanks! Gary Gary, the technique ...Show All

  • Windows Forms set Datagrid color of each 4 rows

    Hi, I have a datagrid and I want first 4 rows to appear in one color, next four in another color and so on. Basically the data in the datagrid is in group of 4 i-e each item is described in 4 rows and next item in next 4 rows and so on. I want to display them in a way that makes it easier for the user to see  ...Show All

  • Visual C++ How to switch between multiple projects in one workspace

    Hi, I have two projects in the same workspace and I have compiled the first project. I now want to compile the second project but I cannot seem to do that. The first project name is highlighted in bold but I cannot find a way of switching to the project below so I can compile that I've tried fiddling but cannot see how to do this anywhere. It's probably staring me in the face, any help Thanks, You can just right mouse click on the project in the workspace and choose "set as active project", or "set as startup project" (depending on which version of Visual C++ you are using) ...Show All

©2008 Software Development Network