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

Software Development Network >> Brandt-Lassen's Q&A profile

Brandt-Lassen

Member List

Dennis Tap
MatthewE
Gabriel_XD
aninflal
Juniorelnino
Matt Grove
Martin Unterholzner
JeffBoneHead
subhanet
czaval
faith2006
Milind Lele - MSFT
EileenWin
Omar Seri
Chappers23
tomsji
Pamela.Clark
esp123
Philippe31
BoulderGent
Only Title

Brandt-Lassen's Q&A profile

  • .NET Development problem in using DropDownList Control

    Hi All, I am developing a small web application in 1.1 framework. I am using a DropDownList control. I have coded a selected index changed event for that, and set the autopostback property to true. When i select any value from dropdown, it triggers this event alright, but again displays the 0th value from drop down. What could be wrong. Code Snippet: private void DropDownList1_SelectedIndexChanged( object sender, System.EventArgs e) { DataView dv; Students st = new Students(); dv = st.DataLoad(); dv.RowFilter = "Student = '" + DropDownList1.SelectedItem.Value + "'"; // always returns 0th r ...Show All

  • Visual C++ dll problem

    Hello   I am learning dlls but i have a problem. I use the MSVC++ 2005 Express environment and  tried to load a dll function dynamically:   DLL Project File dll.dll________________________________________________________ #include <windows.h> #if defined (_MSC_VER) #define DLL __declspec ( dllexport ) #else #define DLL #endif // nur unter MS VC das Symbol DLL definieren unter z.B. Linux wird DLL ignoriert // Die Funktion, die anderen Programmen zur Verfugung gestellt werden soll // (in diesem Beispiel: Addieren zweier Zahlen) DLL double AddNumbe ...Show All

  • Software Development for Windows Vista set resolution in DirectShow

    IF(RIGHT PLACE TO POST) { DO CHECK POST } ELSE { iNFORM RIGHT PLACE } this is the code basically sets the resolution..i want to set it to 320x240 how to go about it.... public static bool ShowCapPinDialog( ICaptureGraphBuilder2 bld, IBaseFilter flt, IntPtr hwnd ) { int hr; object comObj = null; ISpecifyPropertyPages spec = null; DsCAUUID cauuid = new DsCAUUID(); try { Guid cat = PinCategory.Capture; Guid type = MediaType.Interleaved; Guid iid = typeof(IAMStreamConfig).GU ...Show All

  • Windows Forms DataGridView DisplayIndex doesn't keep positions

    I have a problem with the DataGridView. I place a DGV on a form and add some databound columns. Then I add some non-databound colums. Then I re-order the columns in the column designer using the up-down buttons. Everything ok so far. But when I run the application, the order of the columns are shuffled. How can this be The only workaround so far, has been to set the DisplayIndex of each column in code. But I would expect the designed column order to stay as designed. Regards Claes Brandt Using that property, I won't have any control over the order of the columns, as they will be autogenerated from ...Show All

  • Visual Basic insertion of swf files in visual basic .net

    How to insert swf into vb .net the activex flash8.ocx does not work look u will do like that tools->Choose toolbox items->Com Components if theres an error with dropping flash object onto form you should click com components and then find c:\Windows\System32\Macromed\Flash\Flash8.ocx ...Show All

  • Visual Studio Vista Beta 1

    Is there a version of VS2k5 that will install onto Vista Beta 1 I get an error installing MSXML6.0 when trying the Beta 2 release. Thanks, Matthew A bug reported and workaround was filed here: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx FeedbackId=2ed1acbc-0c30-4bd1-99de-3dff389fa885   ...Show All

  • Software Development for Windows Vista Beta2: String-Properties in Custom Activities; Custom themes

    Hi, in Beta 1 it was possible to define 'free text'-input string properties with custom activities which enabled the workflow creator to input any text in the corresponding prop of the activity in the workflow designer. Any DependencyProperty with type(string) enabled this. In Beta2 this definition enforces a total different behaviour in the Workflow Designer - it tries to map it to a Workflow member variable ... How to create props for text input How to create custom themes in Beta2 Thanks!! Andreas Hi. Does the "xml" named parameter of the ActivityDesignerTheme attribute ...Show All

  • Visual Studio Express Editions DLL Development for the Web

    Which version of Visual Studio Express would I need to create DLL's for use in websites   I prefer to develop using a tiered approach, keeping most processing code in DLL's.  It appears the VB2005 version supports this, but I wanted to make sure. Port of Dreams - You are right that Visual Basic Express is the product you will need to use to create stand-alone DLLs, even if these will be used in websites.  If you are doing significant development across the boundary between Visual Basic Express and Visual Web Developer Express, you will probably want to consider Visual Studio Standard Edition or higher, which make this pr ...Show All

  • Windows Forms Friction free deployment,xml comment support & Windows Forms

    I went on a 1 day roadshow course on .net in Reading, UK. There I was told of these 3 things.  What I want to know is: Is my understanding of them correct And can I get all of this using VB.NET or is some of it only available through C# Friction free deployment ---------------------------- I copy all of an application's files into one folder and  ...Show All

  • Software Development for Windows Vista Dynamically load policyActivity ruleSet

    I’ve created a simple sequential workflow using beta 2.2, a windows test application and an interface for data exchange. The workflow has the following elements: HandleExternalEventActivity, CodeActivity, PolicyActivity and CallExternalMethodActivity, and it works fine. A host raises an event and (HandleExternalEventActivity), the workflow does job and the host gets data back through a method (CallExternalMethodActivity). A hart and soul of the workflow is a policy activity. The first step was to design a workflow and reach a point where my policy activity has a well defined ruleSet. Down the road this policyActivit ...Show All

  • Visual Studio 2008 (Pre-release) How to config Proxy generation?

    Hi, My service is passing back a common object shared between server and client by a class library. Can I change the generation so the proxy will deserialize the soap into my common objects rather than container objects. Thanks, Mark Liu Can you please give us more info (some sample code to show what you are trying to implement). Just by using channel factory,we can avoid proxy class and both client and service can share data contract and interface definations. sometimes we can modify svcutil generated code,so if you can give us more info with some sample code,we can explore our options to implement t ...Show All

  • Visual FoxPro MSDE Connection problem

    Hi guys! ^_^ i am trying to connect to MSDE database using vb6 to another computer but i always received this error: [DBNETLIB][ConnectionOpen(Connect().] SQL Server does not exist or access denied. i've use the ff: connection string to connect: con.connectionstring = "Provider=SQLOLEDB; Data ource=110.20.50.99;Trusted_Connection=YES" con.open unfortunately it doesnt work. BTW i have test it in xp os and win2k os but i received the same error. i have also started all the necessary services to be able to transmit/read data to the MSDE data base but still does'nt work. can anyone help me to work this out, i have only 3 day ...Show All

  • Software Development for Windows Vista considerations when designing a new custom Activity

    what additional considerations should we have when creating a new "custom" activity for use in both a Sequential AND State driven workflow asked another way: Do we need to create two different Activities one for Sequential and another for State driven -OR- can we have a single Activity that supports both workflow types LaVinci. In general the same activity should work for both types of workflows. However, State Machine workflows do not allow more than 1 (i.e. the first) activity that implements IEventActivity inside the State activity. ...Show All

  • Smart Device Development Wireless, ODBC database Application on MicrosoftR Windows Mobile? 2003 Second Edition

    Hi, I am doing a new project on MicrosoftR Windows Mobile 2003 Second Edition. I am a new hand for developing a mobile application. This project is like: on a PC desktop, there is an ODBC database that has already existed for a long time. We are planning to develop an application for a Mobile device whose platform is MicrosoftR Windows Mobile 2003 Second Edition. In this application, I can click a button so that mobile device can be connected to the ODBC database and the data in the mobile device can be transferred to/from it on PC desktop. The connection between mobile and the PC desktop will be wireless connection. I am planning t ...Show All

  • Visual C++ VS2005 - UNICODE - TreeView does not respond to change events in Win98/ME

    Hi, Code is written in VC6 but compiled in VS2005 Beta 2. In Windows 98 & ME, click events for Treeview controls does not respond to click or change evens when clicked on child/leaf node. It works in 2000 and XP. Thanks, see the below link http://blogs.msdn.com/michkap/archive/2005/08/15/451653.aspx The pertinent text is : " In your class that uses the CTreeCtrl (e.g. your CDialog) handle OnNotifyFormat (WM_NOTIFYFORMAT message) and return NFR_UNICODE. Also, send a message CCM_SETUNICODEFORMAT with TRUE to the tree control." ...Show All

©2008 Software Development Network