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

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

MuscleHead

Member List

donkaiser
.net sukbir
Michael Mossman
ukgam3r
scott bates
Recency
HowardP
mmix
AdrianB79
andriscs
bslim
Whoisit
Loopsludge
Jim Hough
Wayne-sea
Malleswar
z2171999
Thomas Mikolajczyk
EvilPenguin
Dani50
Only Title

MuscleHead's Q&A profile

  • Visual Basic ByRef error though parameter is passed by ByVal

    I'm getting an error while trying to fill a grid (third party). The code is as follows: Public Sub FillTheGrid(ByRef one As String, ByRef two As String, ByRef three As String) Dim s As String Dim e As Short = 0 s = (one & Chr(9) & two & Chr(9) & three).ToString e = grdUAH.AddItem(s, 0) <--- Error for this grdUAH.Row = 0 grdUAH.Col = 1 grdUAH.CtlRefresh() End Sub Though there is no value passed a ByRef, I get the error as: Byref value type parameter cannot be null. If I comment out the line e = grdUAH.AddItem(s, 0), there is no error! The stack is as below: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ****** ...Show All

  • Windows Forms Anyone know why my pretty icons look stupid on toolbars? :-)

    Hi everyone, Any help with the following would be very greatfully received. I've been having a lot of problems trying to get the standard winforms toolbar to display my images correctly. The image in question is a 32x32 icon graphic saved as a png (with alpha transparency). It displays perfectly in a PictureBox control. When it comes to displaying it on a toolbar button, it seems that the transparency  or alpha settings ...Show All

  • Visual C++ Difference between winsock and CSocket

    what is the Difference between winsock(Windows socket 2) and CSocket. I have to collect data from microcontroller on pc side. which library package should i use. Bye "wraps winsock2" means that CSocket just calls the winsock 2 functions. As for for how can you build a TCP/IP protocol that mostly depends on what you want to communicate. Given the fact that you say that you need to collect data from a microcontrolller that makes me ask how does that microcontroller connects to the computer Does it really uses a network connection so you can use TCP/IP and CSocket ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Getting a 360 for contest... wait for Zephyr?

    Should I wait for the next rev before getting a 360 and a Creator's Club subscription Are there any plans to offer rebates or trade-ins I don't need 1080p or a 120GB disk... are those the only alleged upgrades (aside from the cooler cpu) Jim Perry wrote: I'd sell the PS3 and buy another 360 and a ton of games. :) Another 360 would be good for testing the network api when and if it's available... But I would probably trade it in for a Wii instead. :) ...Show All

  • Visual Studio 2008 (Pre-release) problems with my SDK help

    hi all, today i un installed May CTP and installed June CTP and June SDK set-up files. everything seems to be fine but when i press F1 for some help i get this message You have chosen to use local Help only for Search and F1 results, and the topic could not be found in local Help. also in Filtered by option i have all SQL Server *.* but not with .Net Framework3.0 Win32 Development i want my help to be filtered by .Net Framework3.0 thanks in advance Nani ...Show All

  • Visual Studio Express Editions MS Word - Book Marks

    I want to use a Word doc that I have allready created and insert a few words in. This is a work document that says that work is completed on such and such order number. How do I grab a word doc and insert "123456" as the order number and then place this into a word doc at a bookmark Thank you all I want to do a complition ticket from a VB.NET application. Basically when the data entry is completed I want to hit a button and have the ticket number and name from the ticket appear on a preformated MS WORD doc so that I can print it out and send it to the requester. This should be possible right ...Show All

  • SQL Server Managed Stored Procedures (GetClusterDiscrimination) Crash - any suggestions?

    I profiled the following on my Analysis server: CALL System.Microsoft.AnalysisServices.System.DataMining.Clustering.GetClusterDiscrimination('Page Aggregate By Month2','001','010',0.0005,true) Internal error: An unexpected exception occured. Execution of the managed stored procedure GetClusterDiscrimination failed with the following error: Exception has been thrown by the target of an invocation.Object reference not set to an instance of an object.. Any ideas --mike Hello, Could you please send us some information about your mining model The columns together with their data types and content types would be helpful. Also, which version of SQL server are you using Do you have Service Pack 1 installed ...Show All

  • Visual C# Unable to delete folder - being used by another process

    When I try to delete a directory I get an IOException because it is being used by another process. The only process that is using it is the one trying to delete it. To prove this I created a folder and added a txt file to it. I started the app, used an OpenFileDialog object to get the string of the selected file. I then try to delete the file but get the exception - I also get the error if I try to delete the file through Windows Explorer. When I close the app I can delete the directory in windows explorer. I don't understand why this is happening as I have disposed of the object. Is the OS holding onto something that I need to clean up Here is a simple example of the problem. try { OpenFileDialog openFileDialog1 = new ...Show All

  • Visual Studio Team System Strange Error - TF53005 Unable to retrieve the Team Foundation Server installed UI culture

    I am at a loss as to what to do to fix this error in the event log. Has anyone seen this I seem to find no real search results on it either. Any help would be appreciated. TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 7/13/2006 7:56:08 PM Machine: SPOBMIBO01 Application Domain: /LM/W3SVC/3/Root/services-1-127972941651875000 Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 1544 Thread Id: 3544 Account name: domain/username & ...Show All

  • .NET Development Problem with setting ico in property box

    When using standard PropertyGrid with an object with a Image type property, I try to browse for a file, and when choosing this one .ico file, I get exception: "Parameter is not valid" .Ico file properties: 16x16, 16777216 colors Output: A first chance exception of type 'System.ArgumentException' occurred in System.Drawing.dll Additional information: Parameter is not valid. Stack Trace: System.Drawing.dll!System.Drawing.Image.FromStream(System.IO.Stream stream, bool useEmbeddedColorManagement, bool validateImageData) + 0x1a6 bytes System.Drawing.dll!System.Drawing.Image.FromStream(System.IO.Stream stream) + 0x9 bytes System.Drawing.Design.dll!System.Drawing.Design.ImageEditor.LoadFromStream(System.IO.Stream stream) + 0x7 ...Show All

  • SQL Server Error installing SQL Server 2000 Developer Edition

    Hello, I hope someone knows the answer to this issue. I am trying to install SQL Server 2000 Developer Edition and once I get to the screen that is asking for the SQL Server instance and Login Information I receive the following error when trying to proceed. (Report Server database is a different version and cannot be used for this installation) I have installed reporting services 2000 developer edition many times and I have never seen this error. Are you adding a new Report Server to an existing deployment If so then you are probably impacted by the Service Pack of the SQL Server instance. I have seen something like this before but can't recall exactly the resolution. However I do recall I ...Show All

  • Visual Studio 2008 (Pre-release) taskpane: automatic flow

    Hello I'm designing a task pane: different taskpaneblocks , each block has a caption and a contentpart . The caption has a button: when clicked, the contentpart will collapse/expand. Now I want the other taskpaneblocks to move up when an upper block is collapsed (and move down when an upper block is expanded). I thought there should be a control that takes care of this, like a stackpanel, dockpanel, grid. But none of these three does this. Am i missing a property Or should i take another control Or does a taskpane already exist in WPF Thanks, Have you looked at <Expander> <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x= ...Show All

  • SQL Server Security Fact Table

    Hi, I am trying to implement 'Security Fact Table ' approach in SQL Server 2000 / AS 2000. I need to do implement 'security fact table approach ' as a pilot / proof of concept to show that it works. I found the following article useful and followed exactly the same steps as described in the http://www.mosha.com/msolap/samples/Dynamic%20security.zip http://www.mosha.com/msolap/samples/Dynamic%20security.zip I am getting errors in the following MDX script as shown in the attachment. (the same problem with Microsoft support solution too ...) I have followed exactly the same steps described in the above download 131 Dynamic Security dwickert Script.doc document (Technique #2 Security Cube: Page 6 ). ...Show All

  • Visual Studio SP1 Beta successfully killed my VS 2005

    I`m not commenting the decision to use windows installer patching system right now (long story short: 1GB of memory wasn`t enough), but after an hour or so the installer doing who knows what atm just died with a very informative message: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. The number was different the first time I think, when I ran out of free space. And as I click OK it just keeps poping again and again. Oh, wait... it`s stopped after 40- or 50-something clicks. Now, after some time, we have this: Error 1935.An error occurred during the installation of assembly 'CppCodeProvider,Version="8.0.0.0",PublicKeyToken="b03f5f7f11 ...Show All

  • Visual C# testing for an unitialized, or null, object

    I use "if (myobjref == null)" and "if ((myobjref is myobj) == false)" with the same result, ie neither return 'true' if myobjref is not initialized. What am I doing wrong The use of is is used to determine if a valid object is a typeof a specified object and allow for the code to handle posilble failures gracefully. 1 If an objects type is unknown, simply casting the object to the wrong type can cause a runtime exception to be thrown. So use of the is functionality can aviod that. The testing of null is a generic way to tell if an object's reference is valid. 2 For example class MyClass {     int a;     int b; } class OtherClass ...Show All

©2008 Software Development Network