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

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

Amimoller

Member List

NickGetz
beto81
m_umair_85
pkhannah
waruwaru
White-Tiger-Eyes
Yogesh Ranade
Prophesy
adorer
CaoxiCao
TigerPhoenix
royalhale
saliq
dldormier
Tamim Sadikali
Terry Lewis
bminard
Rocky79
Cathie 64
Josh Smith
Only Title

Amimoller's Q&A profile

  • Software Development for Windows Vista GetPrinterDataEx

    hi, when i do pnp from a print server why GetPrinterDataEx packets are not getting exchanged between windows vista and windowsXP. my print server is windows XP. ...Show All

  • .NET Development bit shift operators in CodeDOM

    Hello all Shift operations aren't supported in CodeDOM. Does anyone have any experience in a fast, reliable (preventing overflows etc.) and short work around for bytes I don't need to shift longs or integers. Thanks, John. There are a couple of solutions. The first solution is to simply do the multiplication/division by 2 and handle overflow. Alternatively if you are targeting only a single language then use CodeSnippetStatement to generate the equivalent syntax in the language. However the best option, in my opinion, is to create a utility class. public static MathEx { public int ShiftLeft ( int x, int shift ) { return x << shift; } public int ShiftRigth ( int x, int shift ) { ...Show All

  • SQL Server how import DB(arabic) file to sql server?

    hi I have a BD (paradox) file, and have to import to sql server . i imported that to access successful, but my data not correct (my data is in Arabic and Persian) like this: aOII IasNCa Please help me. Try to use this DTS http://www.microsoft.com/middleeast/msdn/CPDTS.aspx ...Show All

  • .NET Development Read ReadBinHex

    Hi, suppose i have an xml file which contain the following data: <items> <item> 0A141E2832</item> </items> how can i read the item element in ReadBinHex method from xmlTextReader please note that the item data is not a fixed length and this is the main issue. a sample code in c# may be helpfull for me. Thanks. XmlTextReader.ReadBinHex allows you to read in chunks, please see the code sample at http://msdn2.microsoft.com/en-us/library/system.xml.xmltextreader.readbinhex.aspx . ...Show All

  • Visual Studio All debugging windows pop up everytime I debug a project. Help!

    I'm at the end of my rope. Please somebody help. Everytime I run a debug on my c# project in VS8 pro EVERY window pops up all over the place and then when I stop debugging my properties and solution explorer windows are undocked and moved and I have to close all the debug windows. The thing is it just started happening out of nowhere about 3 weeks ago. I've totally reinstalled VS twice but it does the same thing. I'm losing dev time and really need to get this fixed without wiping out my machine. Any help would be appreciated. I can find NOTHING on the net or in any book! Thanks boomaze ...Show All

  • Visual Studio Team System rollback to a label?

    Hi All How can I rollback to a Label I see that tfpt.exe just lets you rollback a changeset. Also, It just lets me select 1 changeset at 1 time. What if, I wanna rollback 3 changesets at 1 time We are used to labeling a release. The tech leads may ask me to rollback to a specific label if something screws up in a branch. How can I get around with this Thanks. Thats a good idea to check-out the whole branch and then move from there. But now what irritates is that i have to resolve conflicts on 50 files one by one. UI doesn't give me an option to discard the server changes all at once. This is not comfortable. or maybe i am asking too much :). I guess i can live with it. These kinda rollbacks are not ...Show All

  • Windows Forms xp side menus

    Maybe I am just not farmiliar emough with the 2005 stuff yet but I am looking to make the side menu's that are used in XP. Like when you go into My Computer and on the left is the details menu and the system tasks menu and they have the little minimizing arrows. Are those included inthe .net contols for 2005 Sorry if this is a really stupic question. Than ks in advance.. TTY ...Show All

  • Visual C# MDI TileVertical

    Hello, I am writing an MDI application. When the user wants to tile the windows, I want to control which windows are placed in each tile. In other words when tiling I want to control which child window goes to which "tile". I have used the MdiLayout . TileVertical property to do the tiling but have not found a way to do what I want. I tried reordering the child windows in the MdiChildren array. That did not work. Is there a way to control which “tile” the child window is placed in. Thanks, - Neil SHore ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Please Post First Impressions Here.

    For the working stiff's like myself, could those of you who have successfully downloaded GSE post you first impressions here. Thanks. It definatly looks like a great framework! I started working on my game using XNA, and so far I haven't run into any problems! Although the naming convetion in the framework is different from the one I use, it shouldn't cause problems. Once we get some good tutorials out, I'm sure we will be seeing some good games. Also, the documentation rocks! GJ Microsoft. ...Show All

  • Windows Forms How to set Text to DataGridViewRowHeaderCell dynamically?

    Hi, there: I would like to set row header text from a dataset (or other collections) but I am having hard time to do it. I tried to add text row by row but I could not change the size of the row header cell. Basically I only can see a small part of the text. Is there a simple way to do it Any suggestions are appreciated. I found out how to change the row size to display the row header text from google groups. DataGridView1.RowHeadersWidthSizeMode = AutoSizeToAllHeaders Now my question is how to bind a DataTable column to row header. I am doing it row by row using a loop. I would like to see an easier way just like binding to other columns. Anybody has any ideas. ...Show All

  • .NET Development Interop Thread Leak?

    Hi, I'm hoping for a few pointers for tracking down a resource leak. I developed a VB 2.0 indexing application which is using FileNet's Capture COM objects and we're occasionally seeing a fairly serious leak. It doesn't appear to happen consistently (one user has never had one and I can't seem to reproduce it in my test environment), but it does occur regularly in production. I've been using various tools to poke around in a mini-dump (w/ full memory) and I've seen a few potential problem areas, but I can't seem narrow it down any further. Using PerfMon I found that the leak appears to be in private unmanaged memory. When I open the dump in WinDbg, I get this message: This dump file has an exception of interest stored in it ...Show All

  • Software Development for Windows Vista Accessing workflow instance members from WorkflowInstance (runtime event handlers)

    Hi All, Is there a way to retrieve a strongly typed reference to the actual running workflow from a WorkflowInstance instance More details: I have a runtime event handler (loaded, idled) that receives a WorkflowEventArgs parameter. In that method I would like to access some of the instance properties (DependencyProperties) of my own workflow class. The only object I have in that method is a WorkflowInstance with an InstanceId. So the question is, how can I get a MyWorkflowClass instance if I have an InstanceId Thanks in advance. Hi, I don't have the sdk/doc/VStudio on my current pc so I cannot test it for the moment, but if that helps (in a hurry) I think you can use the GetWorkflowDef ...Show All

  • Visual Studio Team System HELP: Accidently deleted an important project and i need it back!

    Hi all, Here is the deal. I was attempting to move a project in TeamSystem to another project. I had everything checked in and I had a copy on my hard drive. I deleted the project with TFSDeleteProject.exe and then went to create a new one but when I set up my new Workspace and started to add my source I found my source was no longer on my drive. Ok. So I started to freak because this was approx 3 months work for me. We have nightly backups but I had left the backup to my systems team and they only backed up the databases. So I created a new install of TeamSystem on another machine and restored the databases. So far so good , I can connect to the new server and see the 6 or 7 projects I have in there including the project I delete ...Show All

  • .NET Development Lifetime of Principal on Thread in ASP .NET

    Folks, If I assign a custom IPrincipal to Thread.CurrentPrincipal in an ASP .NET app, does that thread get recycled and used for another request for potentially another user Should I clear the principal from the thread at the end of the request Thanks, Scott Yes you should never assume that each request gets the same thread. Therefore you should set the security context at the beginning of each page request. In ASP.NET v1.1 this was the defacto way to get security settings working. In v2.0 I believe the ASP.NET Membership API now does a similar thing. As far as clearing the thread goes you could reset it but in general you shouldn't be running under a high privilege account anyway. In general if you ...Show All

  • Software Development for Windows Vista Host WF in Client applcation

    Is it practical the host WF in Client appliaction for ad hoc changes Lets say my client application has its own business to do. but its behavior can be change at runtime by some sort of controller. can i host WF that listen to that change event and make the changes on the fly not sure if this is overkill or misuse of WF anyone can advice me that what is cost of hosting a WF Thanks advice. Yes, in WF we call ad hoc changes dynamic update. With dynamic update you can make changes from the host or in code handlers within the workflow that will change the execution by adding or removing activities. ...Show All

©2008 Software Development Network