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

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

wmertz

Member List

bangorme
GregDD
TopTN
Prakash Channagiri - MSFT
Bak2DFuture
vaishali.mspp
Adnan Memon
Fiona Coen
Ritu
Mike Flasko
Sankar07
RonnieS
StallionLZ
JonSpa3
JatinShah
Flashx
RobinHuan
Kamran_MSFT
olivier durier
MizzDiva
Only Title

wmertz's Q&A profile

  • Visual Studio Team System Problem with check method name

    I wrote this code to check method’s name : internal class ReglaNombreMetodo : BaseRule { public ReglaNombreMetodo() : base ( "ReglaNombreMetodo" ){} public override TargetVisibilities TargetVisibility { get { return TargetVisibilities .All; } } public override ProblemCollection Check( Member member) { Method method = member as Method ; if (method == null ) return null ; if (method.Name.Name.Length > 0) { if (!( char .IsUpper(method.Name.Name[0]))) { ...Show All

  • .NET Development How to POST data and retrive the html respond?

    I am trying to build a tool that can allow user to login to the forum and load the forum topics into a listbox. So, let's say: [URL]: www.honghong.net/honghongforum/index.php [Textbox]: txtUser [Textbox]: txtPass [Checkbox]: chkRememberMe [Button]: btnLogin then once I entered those info, it will then POST those data (I'll group them up myself) to the forum. Then I should get a html respond regarding i login succesful or not. (but not the html before I login). After that I can filter the html code and list all the forum topics into a list box. So, Please help me out on the syntax to POST and retirve the html. ...Show All

  • SQL Server Multiply Rows with T - SQL

    I need to multiply rows of a table with each other. I found a function like this exp(sum(ln(floatfield1))) . But I can not find the ln function. Is there any other possibility Thanks for any help. Uwe in function is this for MS SQL Server Post your table structure, some sample data and the expected result. We should be able to help you to come up with the query ...Show All

  • Visual Studio Express Editions Binding handle is invalid

    How do I go about this error message when i try to run the program [Error while trying to run project: Unable to start debugging. The binding handle is invalid.] Hi, This is the post on the debugger forum about this issue, with some work-arounds http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=65188&SiteID=1 . Links to work-arounds: - http://lab.msdn.microsoft.com/productfeedback/ViewWorkaround.aspx FeedbackID=FDBK36247#1 - http://lab.msdn.microsoft.com/productfeedback/ViewWorkaround.aspx FeedbackID=FDBK35789#1 Best regards, ...Show All

  • Visual Basic Problem reading Chinese characters in Excel file using Visual Basic

    I open the excel file, which contains Chinese characters, to read its contents, with: Set appexcel = Excel.Application Set appexcel = CreateObject("excel.application") appexcel.Workbooks.Open "file.xls" temp = appexcel.Cells(1,1) appexcel.Workbooks.Close appexcel.Quit Set appexcel = Nothing PROBLEM: When the excell cell contains Chinese characters, temp reads them as just question marks, . QUESTION: How can the above be fixed, so that VB can retain the Chinese characters This may be a text encoding issue , I recall issues like this in the past. Instead of ...Show All

  • Visual Studio 2008 (Pre-release) How To Get The Relative Path Of A SubFolder Within My Application

    i need to compute the path for a subdirectory within my application. as i cannot be certain where my application will get installed, i am presuming that this must be a relative path rather than a static path the only way I can think of doing this so far is to get the path of the executing Assembly, then work up, but this seems cumbersome and I am sure I must be missing something. am i missing something thanks again thomas for your help. however Application.StartUpPath doesnt seem to be available. check out this URL: http://www.dotnet247.com/247reference/msgs/5/27753.aspx ...Show All

  • Windows Forms ThreadStateException from background thread manipulating its control

    Hi, I came to this exception: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. and I don't know what to do with it. My application creates some Panels with a lot of components at run time (according to the database entries). Each panel takes a second or two to load so I decied to use multithreading and choosed the ThreadPool. Simply something like that: (for each page in Form_Shown) Thread.QueueUserWorkItem( <delegate to CreateFormPage> ) ... private Panel CreateFormPage( byte page) { Panel r = new Panel(); ...Show All

  • Visual Basic How do I prevent overwriting the user's DB on subsequent installs

    My application is based around a database that contains important, user-entered data. When I send out updates to the software, how do I prevent overwriting their DB with the blank one that is included with the app. I am using Windows Installer 3.0. I assume that the conditional installation isthe way to do it, but can't figure out how to set the condition. For example, if my database is named "user.mdb" what do I put in Condition Also, what impact does "Permanent" have Thanks. So, to prevent overwriting the user's working DB, you install the empty into a folder other than the one in w ...Show All

  • .NET Development When does the garbage collection get run

    The garbage collector is run on a low priority thread and called when any of the required generations on the heap are full. If I call a method that runs a loop creating objects on generation 0 of the heap, and the total amount of memory required to create all my objects is greater than the size of generation 0, then will the garbage collection thread force garbage collection before the loop has finished If not, then will an outofmemory exception be called based solely on the fact that generation 0 is full or do the new objects get allocated on generation 1 Sunil http://msdn.microsoft.com/msdnm ...Show All

  • Visual C# Index Out Of Range Error

    Hello, I am getting An Index Out of bound error after my site is uploaded. The problem does not occur in the localhost. This error is not frequent but is rare. Please suggest me with a solution Thank You Anoop.H ...Show All

  • Software Development for Windows Vista DirectShow, .Net Managed C# code and WinFX?

    Please excuse my ignorance about the current state of DirectShow since my last work with it was a year or so back. Has DirectShow moved into the managed code realm or are we still forced to use some sort of interop like DShow.Net How does one approach Video capture from the C# .Net world Is DirectShow going to be usable in WPF so that we can take advantage of WPF's rendering capabilities I'm thinking more about TVTuner capture and not simple Video Playback. I haven't used WinFX, so I can't comment on that. However, I do know something about using DirectShow in c#. Check out the DirectShowNet library f ...Show All

  • Visual Studio Team System fxcop settings

    Is it possible to export settings of a current fxcop project for use in a new project Not currently. No. However, what I do is create a 'template' project, that I base all my other FxCop projects on. My template project doesn't include any targets, and simply contains the common rules and settings that I use in all my projects. When I start a new project, I simply create a copy of it and use the copy as the base of the new project. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Possible to make an online RPG with DirectPlay?

    I've been working on an MMORPG (Massively Multiplayer Online Role Playing Game) for awhile. I'm getting up to where I have to wonder, "Now what do I do to make it an online game " Is it possible to use DirectPlay for the networking.. Thanks in advance. Have a look at the source code for Game Coding Complete for some help. http://www.mcshaffry.com/GameCode/ The book's a very good read as well. ...Show All

  • SQL Server to get the latest price value

    hello all.. having been search around for days but no clue.. Hope some MVP can help.. typically from transaction, there are TIME dimension, PRODUCT dimension, and there is PRICE value measure.  normally, OLAP returns is the sum aggregation of the PRICE value when cross joining the TIME and PRODUCT.  However, I would like to retreive only the LATEST PRICE of a product.. return result should be:                                PRODUCT      & ...Show All

  • Visual Studio 2008 (Pre-release) anyone that can help me with this?

    Hello, I'm experiencing the following problem for a while now. I'm not able to set the text of a textbox from another class in the same app. Can anyone tell me how I should do this. More details below... Window1-code: <Window x:Class="TestWindow.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="TestWindow"> <Grid> <TextBox Name="txtTest"></TextBox> </Grid> </Window> Class1-code: //Following is a method that is called from elsewhere public void SendRtlsEvent(string code, double x, double y, DateTime timeStamp) { / ...Show All

©2008 Software Development Network