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

Software Development Network >> Pawel W.'s Q&A profile

Pawel W.

Member List

Markus Fritz
bezlali
Sheng Jiang (蒋晟)
Pradeep T Kumar
Anand Raman - MSFT
Jakob S
JoeHand
epsilon_ro
Gabest
Jassim Rahma
Uzum4ki
wencey
David pereira
zoki977
moondaddy
Zion_zii
thechristopher
DRamey
Beth31
NickNotYet
Only Title

Pawel W.'s Q&A profile

  • Visual Studio 2008 (Pre-release) WCF call fails sometime in CAB application

    We are currently developing a software using both CAB (Composite Application Block) and WCF. The client side GUI is written based on CAB. However, it is found that if WCF callback is used, sometime WCF client side call will raise "TimeoutException" exception. I have checked the WCF log file and found that before the exception was raised, the message was already received by the client side; but for some reason, the message was not processed until timeout. If I not to use CAB, it seems everything works fine. I think a dead lock could be generated by ObjectBuilder, which is the main part of all the application blocks. I have wrote a small test program which has the exactly same problem. I cannot locate the problem precisely ...Show All

  • Windows Forms Multi language help please

    how can i add a combo box were people select the language they want and it will transform it al into that selected language any help is appreciated thank you hi It seems that there is a bug related to the resource manager: http://dotgnu.org/pipermail/pnet-developers/2003-December/000844.html The reasons are: 1) ResourceManager uses CultureInfo.CurrentCulture, but it should use CultureInfo.CurrentUICulture instead. 2) The CultureInfo.CurrentCulture and CultureInfo.CurrentUICulture getters should make an indirection to the Thread. So, the problem is that while the Thread now has the correct culture, the Resource manager does not update the values on the screen what you could do is the follow ...Show All

  • Windows Forms Calling a method in form1 from form2.

    Ok this is my first post on these forums so go easy with me please Ok as you can see from the threads title im trying to call a method in form1 from form2. This i have managed to do but what im trying to do is when calling the method from form2 i need it to add some text to a textbox in form1. For some reason this will not work, but if i add a simple messagebox to the method this gets called and the messagebox pops up Now i've only been coding in C# for a few months and im new to this so please go easy with me. Here's what i have so far... Form1... namespace CallingMethods {     public partial class Form1 : Form     {         public Form1()      &nb ...Show All

  • Windows Forms another System.Windows.Forms.HScrollBar question

    hi, i noticed that the System.Windows.Forms.HScrollBar renders a little differently from the scroll bars that are present on a control with the AutoScroll property set to true. The difference is in the way the arrow buttons render, or maybe i should say, don't render. when pressed they just disappear. with the autoscroll version they are rendered as a pressed button shaded a tad darker. what gives thanks, scott hi, now i spent some time duplicating this and looking for the difference between my working implementation and my duplicated implementation. i said earlier that i could not duplicate the problem, today i was able to. here is what did: create a simple form with hor and ver scroll bars from the to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Device inside a content processor?

    Is it possible to get the graphics device inside the content processor, to create vertex buffers, etc. Yes, but you don't need a device to do that. The ContentTypeWriter for your type should write out VertexBufferContent and IndexCollection types. Then, when reading them back in using your ContentTypeReader, let XNA create 'real' vertex & index buffers. You won't need a device to create VertexBufferContent or IndexCollection types, which is nice because that happens off-line anyways. Write like: output.WriteObject< VertexBufferContent >(value.BuildVertexBuffer()); output.WriteObject< IndexCollection >(value.BuildIndexCollection()); and read like: VertexBuffer vertexBuff ...Show All

  • Visual Studio Express Editions Reports/graphs etc in VB express?

    Hello All, Is it possible to display graphs based on data is the functionality in vb express or do you have to tap into the excel COM objects Any info would be great, thanks! Thanks nobugz, Im guessing I can use the system.draw class to manually draw say a rectangle dependant on the values of my data and let my data change the sizes at runtime, its nothing too extensive as far as reporting goes so would this basic funtionality work do you think Thanks ...Show All

  • Visual C# Program Crashes.

    I have been creating this program for a while now.. its a program that scans my works network IP's to see there hostnames.. and remove ip addr that does not have any host names.. but the program keeps crashing... The program crashes when I enter an IP address that does not have a hostname.. Can someone point me on the right direction Also.. Please forgive the way I coded it... I'm still learning.. and I'm still reading tutorials on a daily basis. Anyways.. I added the codes in a pastebin.. also any recommendations on the program would be helpfull. here is the link to the codes...   http://pastebin.com/823524 P.S: Unless you want me to post it here.. I will. RizwanSharp wrote: Same here as Mike Said, I also ran it ...Show All

  • SQL Server which one is effective ?

    which one is effective(performance vice) in stored procedure 1) Creating a table object and destroying it after using or 2) by using the temp table(#tablename) which one is effective.. Thanks in advance... It depends on size of your data.. Table Variables For simple data the best method is using the Table varaibles (@Variable as Table) Disadvantage  You can't share accross the Scope or on nested SPs Advantage  Stored in the Memory instead of Disk, it will reduce the Disk IO (not fully it may use Disk IO)  Scope specific & Concurrent support Temp tables For Complex & huge data it always better to use the Temp Tables (#Table), it will be faster than the Table variables if the row s ...Show All

  • Visual Basic problem with test server

    Hi, I'm having a strange problem. When I try to debug and run my web pages, and I'm connected to internet, simply nothing happens. t stays still. If I'm not connected, the browser shows my page. Dont know whats the problem between internet and the ASP server. please, some help Txs ...Show All

  • SQL Server Can a data region...

    reference a parameter For instance, I have a table control and in the detail field I have an expression. =IIf(Parameters!Consignee.Value = True, "True","False") But it doens't work.....any suggestions Michael I get "#Error" in the field. All I did to get around this was to make a derived table in my main query that filters for the specific parameter, and then joined it back in appropriately. This made it a field instead of a parameter reference and it worked fine. Thanks for the response. Michael ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compatibility with Vista?

    Does anyone know when it will be c ompatible with windows vista It installs but it gives me a bunch of errors while installing. So I'm guessing this is a Windows Vista issue Or maybe it's something else... Which version of Vista are you running I couldn't get it to work on my x64 version but apparently x86 is fine. A lot of apps on the x64 version don't like (like Windows Live Messenger) ...Show All

  • Visual Studio Team System Command line get changeset

    HI How do I get the latest changesetnumber for a specific file and parse that number to a get command I know I can get the number with 'tf history...' but how do I parse that to the get command 'tf get /version:C[changesetnumber]...' Regards Kim Hi What I want is to build my solution, using scripts, until we convert it all to tfsbuild. I have a include file called version.rc that contains the versionnumber. Before the build starts I check out and edit this number, and do a checkin. To be sure no one do a checkin in the same second, I would like to get the latest changenumber on version.rc and then use that changeset number to get the rest, to be sure I have a correct and wellknown ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to detect version of D3DX installed?

    With the newer versions of DirectX there are several different D3DX dlls that exist. Just checking for DirectX version 9.0c is not sufficent as that version contains several revisions of the D3DX dlls. If a game ships with the April release the earlier versions of DirectX 9.0c will not work. How can the exact installed version be determined So, apparently there is no way to determine the version using DxDiag What about file version of d3d9.dll I was thinking of checking that. I guess there is no harm in just looking for the D3DX9_30.dll but it just seems like the DxDiag should support this. ...Show All

  • Smart Device Development Getting the calling application path

    Hi, Is there anyway of finding the application name from a class I'm trying to build a configuration setting class (like the one in the full framework). It all works fine if it is called from the application .exe but if I call it from a class which has been created by the exe it does not work. The reason being that I get the path of the calling assembly and then add .Config to it get the settings file eg assemblyPath = Assembly .GetCallingAssembly().GetName().CodeBase; configFileURL = assemblyPath + FILE_EXT; Is there any other way of getting the application filename, either through a specific method or by walking up the call stack. Thanks in Advance. Andy Hough  Andy, Th ...Show All

  • Visual Studio Express Editions Clicking a button programmatically

    Is it possible to click a button from within a program Basically I want to mimic a user clicking a button on a form but within a program. Thanx I find that using a module to store subs that are commonly used is very helpful in your situation. So you could also type the sub out in a module and for each time something needs to happen, simply call the sub like you would any other. ...Show All

©2008 Software Development Network