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

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

ST_SHIR

Member List

Dmitriy Ovdienko
GS80
TechNoFear
Dual Cortex
ahmedilyas
Ryan F
Kripz
Quinn01
Joel Triemstra
mt2
MaHMouD 2006
pdns
incendy
Speedmaster
Andrus42
Ranjeetchoudhary
Jagjot Singh
Qiuwei
davidy13
setuc
Only Title

ST_SHIR's Q&A profile

  • .NET Development Broken vtbl when calling COM functions from C#

    I've imported a COM library into a C# project and created a COM object from that library. The COM object in question has several exposed interfaces *most* of which function just fine. One of those interfaces however appears to have a 'broken' virtual table. The result is that calls to FunctionA() on the C# side actually call into FunctionB() on the COM server (hopefully the example makes this clear). Note: The same COM objects work just fine when called from C++/ATL. I was hoping one of the big brains on this forum could give me a clue as to why this is happening. Even some clue as to the best way to debug/diagnose this problem would be helpful. An example of the problem would go like this (not the actual code): ***** ...Show All

  • Visual Studio 2008 (Pre-release) Petzold XBAP gets unauthorized access exception

    When we try to run http://www.charlespetzold.com/wpf/JeuDeTacquin/JeuDeTacquin.xbap from one user account on a PC it runs fine but using a different (older) user presentation host crashes with a system unauthorized access exception. Both accounts have computer administration rights. The same thing happens for all other XBAPs we've tried. XAML applications don't run either. Running an XBAP from Visual Studio in debug mode does work. We're using XP SP2 with .Net 3 RC1 installed. Anyone got any ideas what we could look at to rectify the problem Is there any other information we could post to help To try to see the difference between accounts, compare the proxy settings - in IE Tools - Internet Options - Co ...Show All

  • Windows Forms listview gridline problem..

    Can Anyone tell me how to change color and width of gridline of listview in C#... I am using framework 1.1... I have find that there is only property that is set gridline = true.. is it possible to do that ya its inbuilt but have you seen Glacial ListView v2.. www. glacial components.com/ProdDetail/glv.aspx he has provided the functionality from changing the gridline width and color.. but how god knows ...Show All

  • Visual Studio 2008 (Pre-release) IDispatchMessageInspector.BeforeSendReply - Accessing Service Variable is null

    I have an operation that takes an XSL text as an input parameter which I store in a private variable for the Service. After the operation is complete and the reply is serialized, I want to access the service variable. When I do this the variable is always null . Here is what it looks like. Any thoughts on why the variable is always null and how to fix this are much appreciated. Dave I got your E-mail from a WCF post on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=542165&SiteID=1 I am trying to tap into functionality provide by IDispatchMessageInspector where i want to log the request and response message if the operation implementation in service implementation class has a certain attribute applied to i ...Show All

  • Visual Studio VSIP - Path to selected folder

    I am having some problems figuring out how to get a Path to a selected Folder. By path I mean Full Path. Or at least something that would get me there. Currently my code looks like this ( in the Exec method, so i know my item is selected, and my command fired ). I am aware that ON the UIHeirachyItem I have no path, however, I should be able to navigate to the project Item, and get the path from there, and attach my items name to it. ( Perhaps there is a better more reliable way ) In any case, my projectItem is always returning null, and in any case, i have no guarentee i am acutally accessing the project item, so I would appreciate any help. Thanks. try { UIHierarchyItem fld = firstSelectedUIHierarchyItem(); // _applicationObj ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread

    When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill Finished mine at about 1am PST last night. It's called SolarBall and it's basically like a two-man space soccer. After I've had a nap, I'll post the binaries if anybody's interested. I'm really looking forward to seeing everybody's entries. Two weeks is a very short amount of time to develop a game, even a simple one, but XNA seems to have brought back alot what it set out to do: the one man coding furiously alone in his bedroom. ...Show All

  • Windows Forms question of DoubleClick on ListView, need help!!

    Hi, does anyone know the codes on how to create a double click event for ListView to delete/remove the item that i select from ListView control Hi Ye, Thank you for your codes, by the way,I am using .net CF 2.0 to develop my application in C# and i couldn't get listView1_DoubleClick in my application. ...Show All

  • Visual Studio Team System FxCop Microsoft.Design and Generic outputs

    Working on a deserialization loader mechanism, I started out with a public method signature which looked like this: public static T Load<T>( string filename) FxCop suggests: CA1004 : Microsoft.Design : Consider a design where YamlLoader.Load(String):T doesn't require an explicit type parameter in any call to it. I what it's suggesting is that invoking this method with code like this may be hard to understand because of the part in the angle-brackets below. Foo temp = YamlLoader.Load<Foo>( "temp.yaml" ); The only alternate design that seems obvious to me would be: public static void Load<T>( string filename, out T output) with calls looking like this: Foo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Future D3DX's not supporting SM1.x??

    I saw this in the October SDK readme October 2006 DirectX readme! wrote: Preview Release of the new HLSL Shader Compiler for Direct3D 9 Targets This release has a beta version of d3dx9d_31_beta.dll that includes the Direct3D 10 HLSL compiler enabled for Direct3D 9 targets (shader models 2.0 and later). The new compiler has no support for 1_x targets. This debug-only DLL allows developers to utilize the new Direct3D 10 HLSL compiler for their Direct3D 9 shaders, and will become the default compiler for all Direct3D shaders. Please try the new compiler by building your application with d3dx9d_31_beta.dll instead of d3dx9d_31.dll. Does this mean in future SDKs SM 1.1 will not be supported any more, or is this limitation j ...Show All

  • .NET Development Errors using the UploadFile method

    I'm attempting to write a .NET 2.0 web service to upload a file using a specific user ID and Password. I would like to avoid using the ASPNET machine account for security issues. Here is my exact code snipet: My.Computer.Network.UploadFile("C:\sample.log", " http://localhost:3477/wsFileUpload/Uploads ", "testuser", "testuser11") I'm receiving the following WebException error: The remote server returned an error: (405) Method Not Allowed Further error trapping reveals: Status=ProtocolError Sometimes I am receiving: The underlying connection was closed: An unexpected error occurred on a receive. Status=ReceiveFailure I am attempting to run this on my local PC. VWD 2005 Express created a \WebSi ...Show All

  • Visual C++ trying to use localtime.....

    Hello...I'm trying to have it display the local time of the users location.....It's weird that TickCount is in Environment:: .. but LocalTime is not. How do you get it to get the local time ! Thanks. have a look in MSDN for SystemTimeToTzSpecificLocalTime() .and if you wann you also can go with the link to get local time. http://www.codeproject.com/useritems/TimeZoneConverter.asp Thanx ...Show All

  • Visual Studio Team System Reporting result file.

    Is there any way I can do test reporting from the result file that got generated after the .webtest is ran I know the trx file is an XML file but there are tons of information in that file and it is very hard to tell what data I need... BTW, we do not have Team Foundation Server implemented here so we can't publish the test result. Any help on this will be appreciated. Thanks, --WC Thanks for the reply. The reason we want to generate report base off of the webtest is because we want to have other tester to run the test as a regression smoke test rather than a load test. This is to minimize the number of manual smoke tests that needs to be run after a production deploy. I did look over the article that you included in your reply earl ...Show All

  • Visual Basic begginers help

    hey guys, i have literaly started vb,net today, and need some help. i have this code for a click button, which is a small part of my project, but i cant seem to get it to work, and this is crucial for the rest of my project. what i want to do is display a 1 in a label if a number entered in a textbox is found to be in a certain range Dim label1 As Integer = 0 Dim textbox1 As Integer If textbox1 >=10 and textbox1 <=1 then label1 = label1 + 1 End If any help would be realy appreciated, thanks ahmedilyas wrote: your actually best converting the values to true Integer's before doing the comparison - your pretty much there in that example! Just do: If Convert.ToInt32(textbox ...Show All

  • SQL Server Using data from a Dataset as an automatic parameter in a second Dataset

    Some more details. The report show the number of visitors fro a given theatre for a selected week. These weeks are not regular calendar weeks but can start depending on the selected theatre on another day. (Depending on the country where the theatre is). So, in the report i want the user first to select a theatre, then, with the code from this theatre i want to reselect another dataset containing my calendar weeks, so that i can display the weeks, but the label contains the day from and day to, so the labels can be different depending on the selected theatre. When these two selections are done i have enough info to start the real report .... How could i achieve this. In this example i'm having a chronical selection of 2 para ...Show All

  • SQL Server Permissions to Reporting Services

    I have been looking at forums trying to resolve my problem and now my brain hurts. I really need help with this and no one seems to have a definitive answer. When launch Reporting Services, the page is blank and the settings options are missing. Even though I am logged on to the server with a local admin account. I have tried taking off annonymous access but when I do this I just get the page can not be displayed. Also when connecting to ReportingServices through the Management Studio I get the following message: The permissions granted to user 'servername\username' are insufficient for performing this operation. (rsAccessDenied) (Report Services SOAP Proxy Source) The permissions granted to user 'Servername\username' ar ...Show All

©2008 Software Development Network