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

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

tkrasinger

Member List

MusicMagi
henit
Picasso
Chris Han MSFT
AJAX
wPa
Michael Lipp MSFT
GaryM
Jason Perez
arndawg
CoderX
Balaji Thiruvenkataraju
Fury Libre
Ross Olson
grybyx
prog moh
Nixies
g0mZY
JimmyDe
Hiparco Puccetti
Only Title

tkrasinger's Q&A profile

  • Visual Basic ByVal variable passing

    didnt know where to post this, so i decided here was a suitable spot. anyways lets say i have an OCX that has variables defined.  the OCX, we will call "HMM" example given: Private Sub HMM_NAMEHERE(ByVal Latency As Long) now "Latency" is already declaired in the OCX as a changing variable that depends on the user that is connceted to a server.  so its not set. now im trying to pass that variable to a "Private Sub ListView_MouseMove".  the Latency variable in the HMM sub contains the true value, and i just want to pass that value to the ListView sub i have listed. how would i go about doing that here is an image, if it ...Show All

  • Visual Studio ReportHeader and ReportFooter along with PageHeader and PageFooter?

    Back when I was writing reports in Microsoft Access, I made use of a section of the report called Report Header and Report Footer. I believe the same funtionality was present in the VB6 built-in reporting engine. This was useful, for example, when appending a copyright notice, privacy notice, or legal notice at the end of a report, but which you didn't want to see at the bottom of every page. This is a highly desirable capability. Is there a mechanism to achieve this with the .NET 2.0 built-in reporting functionality Thank you, --Mike This is work well but one annoying problem remains. If I hide contents in ...Show All

  • Visual Basic GetKeyState

    I am trying to get GetKeyState  to work and its just not working! I am trying to make it so when I press PrintScreen (Prt Scr Sys Rq button) it will give me a MsgBox saying "You pressed print screen button". the only trick is that I need the program to be out of focus. so I have like Windows Media player in focus and i press Print Screen and it says you have pressed print screen. can you provide me with a code sample Hi Biodegradale. I have a problem exactly like this in a thread called Note the developers that I just posted. You may want to look at what I said because it involved Get AsyncKeystate. What a coincidence that you hav ...Show All

  • Smart Device Development DirectDraw application not executing in Windows CE Platform Builder 5.0

    I am trying to execute an application in which I am using DirectDraw API to create overlays. This application has to be executed on a Windows CE 5.0 platform in a mobile device or an Emulator (I am using Pocket PC 2003 SE Emulator ). In the application a DirectDraw object has to be created using the API call: DirectDrawCreate(NULL, &pDD, NULL); But it is failing everytime giving the error: Application xyz.exe has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor. Program: xyz.exe Exception: 0xC0000005 Address: 00000000 The pro ...Show All

  • Smart Device Development Is there a CF2SP1.CAB for CE4.2 for MIPSII available?

    Hi, is there a CF2SP1.CAB for CE4.2 for MIPSII available I only can find the ARM version of it. Yes, please search for "NETCFv2.wce4.mipsii.cab" if you have NETCF V2 SP1 Beta installed. ...Show All

  • Visual Studio 2008 (Pre-release) duplex contracts behind a loadbalancer

    Hello, Just starting to work on some duplex communication samples. Can someone confirm that this will work behind a loadbalancer Regards, Ruurd Boeke Probably :-) - Most load balancers are configured to return the client to the same server. Though not ideal it prevents a lot of programming issues ( like not having to track session state in a DB ) If you are using a true load balancer im not sure , but my hunch is it may not work. The issue is not so much the server talking back to the client but the state on the server . Most Duplex channels implementations have a program model where a request is intiated by the client , w ...Show All

  • Visual Studio Tools for Office Deployment of VSTO 2005 Solution

    Hi all, I've developed a VSTO 2005 solution contains 9 children projects (n-tier dev), and now, I try to publish the solution to one of my testing machine via network folder ( \\xxx\FolderA ) and run it, argh.. no luck. The classic error: The current .NET security policy does not permit the customization to run. Do not change the security policy in your computer.... etc etc etc I searched the google and forum up and down, and I've also tried the following actions in the testing machine: .NET Fx 2.0 Configuration | Runtime security policy | Machine | Code group | All code | New : Grant full trust to a deployment folder, say file://C:\FolderA ...Show All

  • Visual Studio MSBuild Task and TargetOutputs

    Hi there, I am having a problem with the following <!-- The list of solution files to build --> < ItemGroup > < SolutionFiles Include = " *.sln " /> </ ItemGroup > <!-- The list of project files --> < ItemGroup > < ProjectFiles Include = " **\*.csproj " /> </ ItemGroup > < Target Name = " CoreBuild " > < Message Text = " Build... Builds all solutions included in the SolutionFiles item group. " /> <!-- Build the solution files --> < MSBuild Projects = " @(SolutionF ...Show All

  • .NET Development Codebehind in a diferent place

    Hi all How can i place my cs files in a different folder of aspx files When i put my cs files in a different folder, forms works fine but i can't use design view. I don't know how to specify a diferent location in "Codebehind" property. Thanks in advance The codebehind file is found by the designer through the CodeBehind attribute in the ASPX page.  I'm not aware if you can give it a path or not but it is normally simply a filename.  For 2.0 you should use CodeFile instead which I believe does support paths.  However you should weigh the benefits of moving the code behind away from the underl ...Show All

  • Smart Device Development How to create a File, especially XML file.

    hi all, I have not worked on any file handling, etc. I wanna know how to create an file, open / read / write / close. means, what type of object i need to create and how to use it. plz help me thanx in advance harish That is done using classes in System.IO and System.Xml namespaces. This is very generic topic and it is very desktop compatible, so this should point to at least couple hundreds samples: http://www.google.com/search hl=en&q=create+XML+file+.NET&btnG=Google+Search Keep in mind paths on devices don't have drive letters and there's no support for relative paths. ...Show All

  • .NET Development How to give an exe the permissions it wants

    I'm trying to write a c# CGI app. When i simply use Console.WriteLine to output my results, everything is fine. But I want to use HTMLTextWriter and when I do, I get the following error below. When I run the program in a console it works fine, but not when I access it from a browser. The directory has read/execute permissions for the IIS user account, and I've explicitly stated [ AspNetHostingPermission ( SecurityAction .Demand, Level = AspNetHostingPermissionLevel .Minimal)] [ AspNetHostingPermission ( SecurityAction .InheritanceDemand, Level = AspNetHostingPermissionLevel .Minimal)] In my program. How then do I give ...Show All

  • Visual Studio Tools for Office Newbie to VSTO

    Hi I want to build an Outlook add-in with VSTO 2005 (C#) that will add a toolbar to Outlook. This button will call a program that will search for XML attachments in the current open mail message and then insert that data into a SQL database. Which is the best place to start documenting for this Or some code samples I find only demos for Excel or Word and for sending messages with Outlook. Thank's -- Sorin Sandu Romania Sorin, We have lots of Outlook documentation for doing the types of things you describe. I have authored articles that show how to do things very similar to your description. Check out the articles with do ...Show All

  • Visual Studio 2008 (Pre-release) trigger for IsFocused - not working?

    I just want to add a trigger for the main window, when it goes out of focus, so I did a little test app, and it seems to be broken. It raises an exception, in which it says that 'IsFocused' string is not a valid value for 'Property' property of type 'DependencyProperty'. Here's the code: <Window x:Class="WindowsApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WindowsApplication1" Height="300" Width="300" > <Window.Triggers> <Trigger Property="IsFocuse ...Show All

  • Visual Studio Express Editions How to Have DataBound TextBox Controls Empty on FormLoad?

    My title pretty much says it all. I've got a combobox that I set to -1 on load, and it is nice and empty when my form loads. However, I've got three textboxes on the same form that separate data binding that I cannot figure-out how to load "empty." They are always filled with the data from the first row of the dataset. You shouldn't be setting the SelectedIndex of the ComboBox because you are actually affecting the first record. I've never done it myself but if it's possible then you'd need to use a CurrencyManager and set it's Position property to -1. I believe you'd do that like this: CType(Me.BindingContext, Curren ...Show All

  • Windows Forms Flexgrid not instantiated

    Hi I have a project that was build it in VC++ 6.0 and I try to open and changed it in VC++ .NET 2005, but when I try to open a Dialog that contain an Activex Control (MSFlexGrid Ver 6.0) The VS show me the next message: The ActiveX control "Microsoft Flexgrid Control, version 6.0" could not be instantiated because it requires a design-time license. Can somebody help me to fix this In advance thanks. ...Show All

©2008 Software Development Network