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

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

brottmayer

Member List

Chrismanster
nCognito
Erik Svensen
MikeTomkies
JonnyAJAX
Beginer user
Dhaval Mistry
Brad Smith
PaulVSTO
David I. McIntosh
Carlos Sanchez
julien talois
mani_rt
Uwe82
Xavier Arnau
Ion101
LalitBoliya
hye_heena
Glen Satuito
Siggy01
Only Title

brottmayer's Q&A profile

  • Visual Basic Optimizing Search

    I am using VB.NET 2003 and MS Access. I have a TextBox and below it is a ListView control. As the user types a character in the TextBox, the records starting with that character get filled in the ListView control. The records are fetched from either Oracle or Access database. Previously, I used to execute a SQL query, which looked something like this: "Select FirstName from TableName where FirstName like '" & TextBox.Text & "'%" This query was set to execute as the text in the TextBox changed. If the TextBox is blank, then all the records get displayed on the ListView alphabetically. Now I have decided to use a different approach so as not to query the database again and again. Now what we are doing is that ...Show All

  • Audio and Video Development Problem with 'content ID' while creating directory in 'persistent storage'.

    Hello Everybody.... In the java script for creating a directory (FileIO_createDirectory), do we have to specify the content id also If we don't specify, whether the directory will be created or some exception will be thrown I am giving two examples below, please tell in each case what will happen. 1. FileIO.createDirectory("file:///required/app1",callback_createDirectory); 2. FileIO.createDirectory("file:///required/11111111-1111-1111-1111-111111111111/app1",callback_createDirectory); Are you trying to create the Provider and Content directories You don't need to do this, they are created for you based on the Provider and Content IDs in your DISCID.DAT file. True, you will need an aacs disc for the player, ...Show All

  • Software Development for Windows Vista In July CTP, using StateMachineWorkflowInstance to obtain CurrentState freezes workflows in that State

    Dear all, I have a working StateMachineWorkflow hosted under asp.net 2.0. I have written a simple routine (shown below) to interrogate the current state of a workflowinstance: public string WfCurrentStateDescription(string WorkflowInstanceId) { // Get the workflowRuntime which was started in global.asax WorkflowRuntime wfRuntime = (WorkflowRuntime)Application[WorkflowRuntimeKey]; StateMachineWorkflowInstance wfInst = new StateMachineWorkflowInstance(wfRuntime, new Guid(WorkflowInstanceId)); return wfInst.CurrentState.Description; } I find that, once I have called this on a workflowinstance, that instance gets "stuck" in the current state and never transitions to the next state, even though code appears to get c ...Show All

  • Visual Studio Tools for Office Outlook /resetfolders /cleanreminders

    Hi ALL, I was woundered to know if there is possibility to resetfolders && cleanreminders programatically, suppose when my Outlook AddIn starting up . Or maybe to resetfolders && cleanreminders but without launching the Outlook, cause regular user don't know how to run Outlok from command line (outlook.exe /resetfolders /cleanreminders), they simply click the Ooutlook icon or the Outlook starting up on windows loading. Any suggestions Thanks for replay Mike, I need this because it's the only solution that i found for "repair" reminders in Outlook. Sometime there is a Outlook message baloon with description like reminders couldn't be opened , and reminders nev ...Show All

  • Visual Studio Express Editions How to make a drop-down list

    How do i create a drop down list of options for a column in a database. For example in the application i want the age field to be a drop down list and be able to select a value, many thanks elliott hi, drop down list is a web forms controls , if you use VWD for web pages you can use this forum http://forms.asp.net if its a windows form you can go to property set the datasource and displaymemeber and valuemember as what Mohammad said hope this helps ...Show All

  • Visual C# StreamWriter or StringBuilder? to a text file

    Can someone advise on how I should build this. the requirement is to build a text file from a table (1500 rows & 15 columns) I need to loop through the rows in a table adapter based on a parameter and for each row in the table adapter I need to write each column of each row into one text file. thx in advance http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconWritingTextToFile.asp It would probably be easiest to use StreamWriter because all you are doing is creating a text file. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GameFest information

    Hi I attended the XNA talks at GameFest. I was wondering... How much of the information provided about XNA can be talked about here thanks! Michael Klucher - MSFT wrote: P.S. For other people who did not attend please note we will be getting slides and audio of the presentations online as soon as we can. Waiting anxiously for this. The clips I saw and heard merely whetted my appetite. ...Show All

  • .NET Development Problem with TableAdapter Updating Database

    I am porting a database program from VB6 to VB 2005. I have decided to rebuild the forms from scratch. I am trying to use the drag and drop features to build the first form. The form has a detail section for one table, and a DataGridView for the second table. The database is an Access database. The two tables have a Relationship defined between to employee ID fields with a foreign key contstraint. When I use the BindingNavigator delete button to delete a record, both records in the two tables are deleted from the DataSet and the form, but when I reload the form, the records are back. I've tried using the default code created for the Save button, as well as writing other code to try and make the TableAdapter update the database, but with ...Show All

  • Software Development for Windows Vista [edit controls] What is EM_SETHILITE supposed to do?

    Hi, watching the list of new COM interfaces, API functions, window messages and so on, I noticed EM_SETHILITE and EM_GETHILITE. I wrote a small app which displays an edit control with some text in it and sends EM_SETHILITE to it (with wParam = 0 and lParam = 9). When running this app on Vista RC1, I can't detect any hilighting on the first 10 chars. Is this an Aero Glass only thing I'm running Vista inside VMware and can't use Aero Glass. Or is this message not implemented (yet) Thanks in advance TiKu ...Show All

  • Visual Studio Express Editions Few Questions.

    Well i got 3 questions. 1) In Vb i used to do "Exit Sub" how can i do that in C#. 2) And in VB ( VB6 ) i used to do the WITH ("someting") code to write less code wen i use same COM how can i do that in C#. 3) How can i show MessageBox or do someting like Application.Exit(); in a Class. thx ahead To use MessageBox and Application in your class, put this line at the top of your class source file: imports System.Windows.Forms; You can emulate the With keyword in C# through a variable. For example, in VB.NET: With Me.TextBox1 .Text = "nobugz" .SelectionStart = .Text.Length End With In C#: TextBox t = this.textBox1; t.Text = "nobugz#" ...Show All

  • Software Development for Windows Vista Sub Flows within XOML based workflows

    Hi, I have a workflow which is XOML based and the XOML and rules file is loaded dynamically from the DB. With this I have a server control which manages all workflows loaded into with forward and back controls. I want to implement sub flows now and am wondering how to go about this with XOML based workflows. I have a demo working with code based files but cannot get the XOML working Is it possible if so, any pointers would be greatly appreciated. Thanks! Start with Jon's custom invoke workflow activity sample found here . Just update the StartWorkflow method in CallWorkflowService to take the xoml and / or rule path. ...Show All

  • Visual C++ help on displaying cursor location

    hey i just reformatted and reinstalled visual studio 2005, but i cant seem to find how to enable the feature that shows where you have placed your cursor to begin typing. for example it used to show at the bottom of the window the current location of the cursor to type, line 44 space 56. any help would be very appreciated on how to turn this back on. thanks Are you missing the status bar all together or is the status bar showing but not showing anything in there. Since this is pretty much enabled by default. To show the status bar it is Tools->Options->Environment->General and select the show status bar check box. ...Show All

  • Visual Basic how to spell & grammar check forms

    I've made a form in MS Word 2000 that's locked. This way, coworkers can fill it out on their PC, then print a hardcopy for our files without accidentally deleting portions of the form. I noticed that the spelling and grammar check is disabled when the form is locked. Is there a way to make certain form areas (mainly text boxes) run a spell-check and grammar-check upon tabbing out of or clicking out of the text box How do I do this From your description - " I've made a form in MS Word 2000 that's locked" These forums are for VB.NET questions. The VB within Word is Visual Basic for Application. VBA is a very different product from VB.NET and there are some other locations where you ...Show All

  • SQL Server How extend excelRendering

    HI, I have a problem. In my report I used a custom funcition to convert seconds to string (because I want to show the amount of hours.. if I use format hh:mm:ss when the amount is greater than 24 exaple 25 this format shows 1 as hour)... now, when I export the report with excel I have the necessity to have DateTime and not string. There is the possibility to extend the excel rendering Can this help me Have anyone some idea Thanks I think you would want your custom function to return the type System.DateTime. Then when the Excel export looks at the value of the textbox, it will see the DateTime type and put that into Excel as a date. You will probably need to apply formatting to this in the Format property ...Show All

  • Visual C++ Marshalling

    I have a native byte* buffer which I'm going to pass to a MarshalByRef object on a remote server (using .Net Remoting). I know that if I implement the MarshalByRef object in a way that it accepts a byte* too, it will complain that I cannot pass pointers to the server (which is absolutely right). So what would be the best replacement I myself used a cli::array<Byte>^ and used Mrshal::Copy() like this: int MyClient::Write(Byte* buffer, int size, unsigned long * writeNo) { array < unsigned char >^ aBuffer = gcnew array < unsigned char >(size); IntPtr^ ptrBuffer = gcnew IntPtr(buffer); Marshal::Copy( static_cast <IntPtr>(ptrBuffer), aBuffer, 0, size); ... m_W ...Show All

©2008 Software Development Network