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

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

BrentHecht

Member List

Gravy
slies
brian_j
ProfDrA
railguns
niallhannon
Joseph Ollero
RubenPieters
Grigs
ivaka
jeffg90
Leedrick_
Enkht
y2k4life
Computer Guy69146
rebeccat
Winson
Keith Newton
mmmmBeeeer
Ramaj
Only Title

BrentHecht's Q&A profile

  • Visual C# Post to the web?

    What would be the best way to go about posting to the web For an example, Commenting someone on Myspace or PMing someone on a forum Any ideas as far as I know you can't really do this, unless you are using some newsreader or something. You can implement a webbrowser control in your application but really would be the same thing as accessing IE to access the forum or something like this. ...Show All

  • Windows Forms application not starting

    I have a clickonce application, when one particular user click on the install button, the pre-requisites gets installed but it will not launch the application. When the user click the 'launch' button then also nothing happens. I checked the registry entries and file association for .application and he does have those entries. Could someone give me an idea what could be causing the .application not to run at all Nothing happens when running .application. But no other clients have problem. Anyone run into this problem at all Thanks. I started the task manager and saw nothing happening so I looks like something is blocking .application to be launched from internet. I made the site as the trusted site as well just to make sure i ...Show All

  • Visual Studio Express Editions [VB2005] Reading from serial port, pls help!

    Im currently working on serial port RS232 communication, im able to set configurations thru serial port to my device, but having problems reading from the port. Ive been advised that there're two ways of doing it, which include write the program so that the incoming data is stored inside certain file on computer and data can be extracted straight away from it..well another one, is extracting the data from the computer temporary memory.. but i have doubts regarding those methods and totally have no clue of performing the task, can someone please give me some guidelines of reading data from serial port thanks in advance! Hi Carsten, thanks for your comments and suggestions...Im now still in the process ...Show All

  • Windows Forms Add and check if record in the database

    I am trying to get to the database and see if there is a record there, set a bit to 1 , making it visible, because the records that are "deleted" have that bit set to 0. So if the record is not there then just add a new record. Here is what i try to do, thank you try { SqlCommand sqlTry = new SqlCommand("Select * FROM tbl_Categories WHERE categoryName = '" + txtCategory.Text+"'",sqlConn1); sqlConn1.Open(); sqlDr = sqlTry.ExecuteReader(); //Loop through (which i am not sure how to do, If it finds a record then update while (sqlDr.Read()) { } if ( record found) { SqlCommand sqlUpdate = new SqlCommand("UPDATE tbl_Categorie ...Show All

  • Visual Basic OpenFileDialog Question

      I have the following code written for the opening of a BMP image from the File...Open on my menustrip. Private Sub OpenToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click OpenFileDialog1.Filter = "Image Files (*.bmp)|*.bmp" If OpenFileDialog1.ShowDialog() = DialogResult.OK Then Dim fileName As [String] = OpenFileDialog1.FileName End If End Sub   I tryed it out and it worked, but i have a small question.....How can i change the default name that appears in the file name of the window browser It is set to "OpenFileDialog1" How can i change it to an empty space   EDIT: I just added a picture ...Show All

  • .NET Development Do I need the Microsoft Jet OLE DB Provider on XP SP2 (MDAC 2.8) via VB?

    Windows XP SP2 implements MDAC 2.8 - which does not include the Microsoft Jet OLE DB Provider. So what will the connection string look like without the provider eg: PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=mydatabase.mdb;Jet OLEDB:Database Password=<pwd> What is the equivalent without the Microsoft Jet OLE DB Provider and without ODBC Yes, the Jet Database Engine Components are installed with SP2 on Windows XP. See the following MS KB article: Information about Jet 4.0 Service Pack 8 The version installed with XP SP2 is 4.0.8618.0. It's a slightly later version than Jet 4.0 SP8. If the user is having problems connecting I think we would need to know some more details, such a ...Show All

  • Visual Basic mixing vb6 and vb.net

    I created a .tlb in vb.net. The tlb calls some .net functions from the "system.manager" namespace. In particular, some wmi enums and statuses. I enter into vb6 and create an app that references the .tlb that i created in vb.net. I run it and all works well. I create an install and install it on another machine and that is where i get the "Error 429 cant create object" . Please help as i am having a hard time justifying all the time i am spending on this project. Im sure the answer is a registration issue. I have re-registered 'PStat.tlb' on the destination machine. I have re-installed .net famework on the destination machine. I have registered 'PStat.dll' on the destination machine (just in case) (I think th ...Show All

  • SQL Server MDX Calculations Script updates

    I have mdx calculated members defined in my cube calculation script. Is there any tool (other than BI Studio) that would allow a power user (typically a financial controller) to modify formulas for selected calculated members Another option could be to use custom rollup formulas stored in the relational data source and offer a nice front-end for modifying those formulas, but this would require a full process of the cube, where as modifying the calculation script would only require a default process. Any other idea Thanks! Sorry, I am confusing a couple of issue here. The multiple commands in the one script will work, it is when you use multiple MDX scripts that only the first is seen. But you will st ...Show All

  • Visual Basic Autoplay Handlers - How do I retrive the media type

    I have created an autoplay handler that launches my app when a mobile drive is attached(usb, sandisk, external drive, ect). It was setup to autoplay on Video or Picture files. How can my application tell what windows detected when its scanned my drive and decided to use my application, is this passed to my application somehow Did it detect Pictures Did it detect Video Did it detect both When your application starts up it should scan the drive and detect what kind of files are there and take the appropriate steps to open the appropriate application to play or view the files ...Show All

  • Windows Forms what is the proper way to update joined tables without concurrency violation

    hi i had made connection in vb 2005 and add data sources which contain joined tables and dragged this onto my form so when i update data it saves data sometimes and times not due to concurrency violation exception!!! what is the proper way to update data in my situation to avoid concurrency violation exception at all thanks in advance. Hi,seco Have a read at this topic: Concurrency Control And this: Handling Data Concurrency Using ADO.NET ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Vista allows What versions of DirectX?

    (split from http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1221168  to make a new question) It is interesting that you say that because I am testing a VB6 app that was working fine on XP and below but now fails on Vista when it tries to create a DirectX8 object, specifically Set oDX = new DirectX8 throws Error 429, ActiveX failed to create component. Running in XP SP2 compatibility mode does not work either. I would be really grateful if anyone has any ideas on this.  I also tried running the latest DX9 redistributable because I heard that was providing backward compatibility, but to no avail. Thanks. I'm currently searching for a solution to the exact same problem. ...Show All

  • Visual Studio Express Editions count of files in a directory

    OK - I have the path of a directory save to a string variable. I want to go to the directory and count the number of files located in that directory. I do not know how to get started. Please help. thank you use this: int fileCount = Directory .GetFiles(path, "*.*", SearchOption.AllDirectories).Length; // Will Retrieve count of all files in directry and sub directries int fileCount = Directory .GetFiles(path, "*.*", SearchOption.TopDirectory).Length; // Will Retrieve count of all files in directry but not sub directries int fileCount = Directory .GetFiles(path, "*.xml", SearchOption.AllDirectories).Length; // Will Retrieve count of files XML extension in d ...Show All

  • .NET Development Parse received XML

    Hi I send a XML request to a web server and I receive the following back in a StreamReader object: < xml version="1.0" > <sups> <client> <vend type="response" format-by="client"> <success>1</success><token><tk1>ABC</tk1> <tk4>123456</tk4> <tk2>2006/08/08</tk2> <tk3>06:22:21 PM</tk3> <tk10>5858/34</tk10> <tk30>SMITH</tk30> <</token> <token-count>1</token-count> </vend> </client> </sups> How can I 'grab' the values between the example: <tk2>xxxxx</tk2>, tags and display in a textbox I need to grab all the <tk's>. Any help wo ...Show All

  • Visual Studio Express Editions Re-worded: Benefits of "Constructor" with or w/o values being passed on

    Hi I realized that the C++ compiler has built in default constructor. My questions are: 1) What are the benefits of "Constructor" without values being passed on Would this be an unnecessary step Would it be simply to use memory resources efficiently 2) What are the benefits of "Constructor" with values being passed on Thanks Hi I realized that the C++ compiler has built in default constructor. My questions are: 1) What are the benefits of "Constructor" without arguments being passed on Would this be an unnecessary step Would it be simply to use memory resources efficiently 2) What are the benefits of "Constructor" with arguments being passed on Thanks ...Show All

  • Visual Studio 2008 (Pre-release) More documentation about dispatcher priority, please?

    I've found only this documentation. -->1 -->2 Is there other docs around the web Are you able to order these properties list by priority I heard Send is the highest and SystemIdle the lowest one. Member name Description ApplicationIdle Operations are processed when the application is idle. Background Operations are processed after all other non-idle operations are done. ContextIdle Operations are processed when the context is idle. DataBind Operations are processed at the same priority as data binding. Inactive Operations are not processed. Input Operations are processed at the same priority as input. Invalid This is a ...Show All

©2008 Software Development Network