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

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

AndyPham

Member List

Florent Montsegur
kshill
Ofir Epstein
Darren France
xRuntime
TimothyForde001
Mathew1972
4B7
DanUp
Xtremer
Tamas Pocker
ruijoel
Shawn Rheal
Dvlnblk
AcrossThePond
ashwin_k_s
friendster
cravier
Charles Cox - MSFT
osamaT
Only Title

AndyPham's Q&A profile

  • Windows Forms menustrip on form resize

    Hi Techies, I am using menustrip on my windows application, i have created user control as header control for all forms. Inside that header control i have menustrip. While resizing the form,some of the menu is getting disappeared. For that menustrip should show the >> button like all other windows application, to see all those hidden menus. How can we do this. Thanx Hi, looks like overflowing doesn't work with MenuItems, which is weird. You can try setting your MenuStrip's Layout property to Flow to make your menu items stay visible even if form shrinks... If I find a better solution, I'll post here... Andrej ...Show All

  • Software Development for Windows Vista Hows start workflow?

    Good day! I am novice in programming. In Visual Studio I created a simple Workflow "Workflow1" and an aspx page "InitForm.aspx" with one textbox "Assigned" and one button "Start". In workflow.xml I wrote InstantiationUrl="_layouts/InitForm.aspx". Question: Sombody can explain to me how to start Workflow from ASPX page being hosted on a Windows Sharepoin Service and send data to workflow "Workflow1" from texbox "Assigned" Malya - not sure what difference/value addition Windows sharepoint service as a host provides for hosting workflows. You might consider posting this on Sharepoint forums. However if you want to host a w ...Show All

  • Windows Forms How to retrieve data from formView?

    I've a formview which including 2 textbox ,I want to retrieve data from these textbox in run time. is it possible I tried these ...         FormView1.FindControl(f_nameTextBox);       FormView1.Row.FindControl(f_nameTextBox);        FormView1.Page.FindControl(f_nameTextBox); all of above all shows error message like this "  'f_nameTextBox' Not exist in this conatain... why " thanks I failed to mention that you need to make sure of the control.currentmode and that the findcontrol statements must reference the name of the control for the mode. if (fvEditSoftware.CurrentMode == FormViewMode .Edit ...Show All

  • .NET Development String indexing

    Hi all, if there is any other means except hashtable by which we can do string indexing in .net framework. I want to use a collection in which key and value both are string. thanx in advance     A Dictionary<> is just a Generic implementation of a Hashtable, both have O(1) complexity for insertion and retrieval. That's as fast as you can go. However, neither have good locality; the CPU cache will not usually have the data available on retrieval. You might get better performance with another collection class, depending on usage patterns, but that's a long shot. ...Show All

  • Visual Studio Visual Studio help example font

    I have a problem with the font used for code examples in VS help. The font being used is about 5 times larger than the font used in the rest of the help page. I have an example below. This is the size of the normal text font used on the help pages. The code font size is shown below. public class TestClass { public TestClass() { } } The font then goes back to normal for non-example text... Hello tilderss, In addition to Frank's questions, I would also ask whether you are viewing content from Online or Offline. Do you remember which choice you made when you first launched Help You can also check in Tools Options under the Help settings whether Online is chosen as the main preference. Did ...Show All

  • Windows Forms Font style not found issue/exception -- how can apps work with this problem?

    I have the following code (generated by the designer): this .panelTabs.Font = new System.Drawing. Font ( "Verdana" , 11.25F, System.Drawing. FontStyle .Regular, System.Drawing. GraphicsUnit .Point, (( byte )(0))); A user running our app gets the exception: ArgumentException: Font 'Verdana' does not support style 'Regular'. because the user's computer has all verdana font files but the "Regular" one. So he has bold, italics, etc files but does NOT have the "regular" font style. If all the verdana fonts are missing, Windows smartly does a font substitution. However, when certain style is missing, it does not seem to do it. How can I avoid this exceptioon without having to go through hundred ...Show All

  • Visual Basic FolderBrowserDialog causing debugger hang (Stop Debugger - required)?

    Hello; The following code is causing my application to hang (requires me to click Stop Debugger) to get the application to quit. Dim dialog1 As New System.Windows.Forms.FolderBrowserDialog() Dim result As DialogResult = dialog1.ShowDialog() Once the above code runs the system will not exit when I close the form, it requires me to click stop debugger. I am using Visual Studio Professional 2005 with SP-1. I have noticed this does not occur when I run this same code using another workstation (one from work). What could be the cause of this I was able to use the Windows Debugger Tools to perform a dump of the IDE while Hung. .Dump is available upon request from Microsoft.com. ...Show All

  • Visual Studio What's the best way to determine DSLs being used in a project?

    If there are multiple DSLs being used by a project, is there some way within DTE that will tell me whether or not a given ProjectItem is a DSL Thanks Hi Aaron, I'm not aware of anything that would get you this, but I've asked our deep VS SDK experts as finding out the editor that would run on a file in a project is more a general VS SDK issue than a DSL-specific one. I'll get back to you with what they tell me. ...Show All

  • .NET Development .NET Socket implementation

    Hi, I'm new to asp.net web application and also socket programming. I need help on socket programming. I want to create a asp.net web application page that can connect to the server using socket and for the data access part I need to use xml for communication between the server and the client applcation. The server connect to three databases and it acts as a middle man between the client and the database. The server is a program written in java. How am I suppose to do the socket programming inside my web application. Can anyone help me with that I really need help... As I can't find any good example on socket programming. Please help... Snow Hi, I have used the asynchronous client socket example. ...Show All

  • .NET Development How to get the templates

    Hello Everybody,     Recently i installed .NET 3.0 using web-installer. It is installed successfully. But, what the problem is when i loaded the Visual Studio 2005 it is not showing the WinFX template in availabel project templates, when i selected the New Project from the file Menu. Please suggest me what should i do to add the WinFX templates into the available project templates. Thanks in advance. I am using is Windows 2003 server (Service Pack 1). Regards, you need to download Visual Studio 2005 extensions from following link. http://www.microsoft.com/downloads/details.aspx FamilyID=f54f5537-cc86-4bf5-ae44-f5a1e805680d&DisplayLang=en http://DotNetWithMe.blogspot.com vikas goyal ...Show All

  • .NET Development POST unsaved document

    Hello. I need a helping hand to help me send an unsaved dokument through a POST call. I have added functionality to word and want to send a unsaved document through a POST call. This works fine when I try sending a saved document - refering to the path and using a filstream like this: FileStream fileStream = new FileStream(remoteFolder + filename, FileMode.Open, FileAccess.Read); byte[] buffer = new byte[fileStream.Length]; fileStream.Read(buffer, 0, (int)buffer.Length); fileStream.Close(); memStream.Write(buffer, 0, buffer.Length); One solution could be to tempsave the document - send it - then delete it from temp... But I don't think this is a "clean" way to do it. If you have any tips for me I would really aprec ...Show All

  • Visual Studio 2008 (Pre-release) Resize Elements inside the canvas

    Canvas contains some UIelements like rectange, ellipse, button etc. I would like to resize child elements, when the canvas is resized. I'm able to resize the Canvas using Adorner. Can someone suggest me the general approach to resize any element that located inside the canvas. for e.g <Canvas><Button>Test Button</Button></Canvas>. In this case Button element should be resized with respect to the canvas. Thanks in advance, Venu <viewbox><canvas> <uielements /> </canvas></viewbox> I don't know if you have to set the height/width on the viewbox/canvas or not, just try. ...Show All

  • .NET Development asm file in 64 bit project

    I have a project we compile in 64 and in that project i have 2 .asm file The problem i have is that , when i compile the project , only one asm file is compiled and the other one is ignored.... sometimes both are but most of the time only 1 asm file is always compiled... then to compile my project i have to manually compile the asm file for the link process to work...   very odd behavior.. someone ever got that and know or to fix that because all my nightly build fail half the time just because of that ... and merging the file is out of question due to NDA.   thank you ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Question about the Game Build

    If you build a project, then later delete content you no longer want in the project from the project explorer, then build the project again, does the old pipline converted content remain in the bin folders Er ZMan were you answering a different question I though the original question above was simply asking if assets that you have already compiled will be deleted if you remove them from the project. ...Show All

  • SQL Server How to populate a Date/Time dimension?

    In SSAS, it seems that it's an option to populate a Date / Time dimension. Is there any tutorial for this In my application, I need the cube rollup by year, month and weekday. Moreover, I also need to rollup by specific time frame, like hourly, per 2 hours or 15 mins. How can I populate the dimension Here is a link to a TSQL script that might help you with building a time dimension: http://sqljunkies.com/WebLog/enigma/archive/2004/02/04/940.aspx Else I recommend testing TSQL Datepart(), DateName(), GetDate(), Year(). Have a look under time functions in Books Online. Your can used them i named calculations in the data source view to create new columns. Be aware that SQL Servers way of rolling up weeks over years is not correc ...Show All

©2008 Software Development Network