micronax's Q&A profile
Windows Forms Create an appbar in visualbasic.net
hello can anybody help me with how to create an appbar in visualbasic .net i can't find information about how to create it in vb.net only 1 milion samples for C or C++ hope anybody can help me. You can find out at http://www.codeproject.com/cs/miscctrl/magicdocking.asp df=100&forumid=10559&exp=0&select=996547 hope this help. Steven ...Show All
.NET Development Where's the WinForm event for AFTER a form has finished loading?
I need to fire an event AFTER a form has finished loading and is displayed to the user. Currently, I'm initializing my MapPoint control on my form in the form_load event. But, if the connection to the MapPoint server is down, the form never really finishes loading before an exception is thrown and it's very slow. I want to put my MapPoint initialize inside an event that fires AFTER the form has finished loading and is displayed to the user. How can I do this Hello All. _Quimbly_: You could use either Shown (as ahmedilyas said) or Activated, depending on your situation. Shown fires once when the form is first created, and never fires again. Activated fires each time the form is made the active form. Whichever one best fits your ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bad Lines Appear with Sprite.Draw with Redist. but not with SDK
Hello Everyone, I am working on an isometric game pseudo 3D but using Direct3D. Primarily I am using one call to draw everything... (Sprite.Draw). Infact I even use only one sprite to draw all the images to the screen and have written all other collision detection and transforms myself using surface level operations... The only real hardware accelerated feature I am taking advantage of is color and alpha blending. Everything has been going fantastic and I am getting ready for a preview release in a few weeks but then I decided to test it on two more machines to make sure everything worked. Almost everything did... but some images are not being drawn to the screen correctly they will have shaded lines under or around them that were no ...Show All
Visual Studio Remote debugging over internet with SSH tunnel?
Hi, I'm trying to debug our c++ application at a client's site over the internet using vs2005 and a secure shell (SSH) tunnel set up between two linux boxes in our respective intranets. I've sent msvsmon.exe to the customer and got him to set it up with "no authentication" and "allow any user". I have an SSH tunnel into their intranet, and have set up port forwarding from my local machine on port 4015 to the client windows machine on port 4015. In the "Attach to Process" dialog in VS2005, I have chosen the "Remote" transport, and entered my local endpoint in the form of server:4015 in the "Qualifier" box. When I hit enter, the customer sees that I have connected, but then nothing f ...Show All
.NET Development XML saved as xls
Can someone show me the steps, including references and namespaces required , to open an XML file and save it as an Excel spreadsheet WITH AN .XLS extension programatically using VB.net (VS 2003) The XML file I created is very large. If I manually open the XML file it opens in Excel but takes a very long time to do so. If I then save that file as an .xls file it saves everything but the overhead is considerable reduced so the resulting file is considerably smaller. How can I do this programatically Thank you. posting this too for completness, it's like the above one, but also deletes the source .XLS file after completion of the .XLS->.XML convertion 'Description: Excel .XLS to .XML file c ...Show All
Visual C++ Horizontal Scroll Bar Problem in CTreeCtrl
Hi, I am using TreeView Control in MFC Dialog based application. When i add option to show checkbox in TreeControl, it shows a Horizontal ScrollBar unnecessarily. How can i make it come only when data is long enough for it to be there.. I google and found something like TVS_NOHSCROLL but cant find a way to use it. Also cant find anything about it on MSDN. Please help. Thanks. Hello Re: Horizontal Scroll Bar Problem in CTreeCtrl This topic is currently not covered in the scope of this forum, see: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 Fortunately you can try some newsgroups that is much suitable for your question: vc.mfc , win32.programmer.ui ...Show All
Visual Basic GetObject & Access Strange Behaviour
Hi all, We are automating the launch of a Microsoft Access project from within a VB.NET 2.0 app and have found a strange problem. The GetObject method is called and passed the correct path to the project. This in turn opens Access and opens the project. This all works fine except none of the non-dialog forms appear in the Access project. We have checked and all of the forms do open, but they don't all show up. When opening the project manually through Access, everything works fine. This problem also occurs when automating the launch via the Microsoft.Office.Interop.Access.Application reference. Thanks, Stephen. If you can duplicate this "bug" then please use the product feedback center to re ...Show All
Smart Device Development Cross-thread operation not valid
Hi, I am have a chatting application. I try to write the received messages to a text box but I got the following error: "Cross-thread operation not valid: Control 'textBox4' accessed from a thread other than the thread it was created on." How can I solve that Thanks in advance. Hi I am seeing an InvalidOperationException in InvokeRequired call even when it is being done safely. The following shows the stack trace. System.InvalidOperationException: Cross-thread operation not valid: Control 'MetricsControl' accessed from a thread other than the thread it was created on. at System.Windows.Forms.Control.get_Handle() at System.Windows.Forms.Control.get_InvokeRequired() ..... Does anybody ...Show All
Software Development for Windows Vista Is there an activity to create a child workflow?
WF Gurus, I need to correlate parent and children workflow(s). What is the best way to do this I need to have a parent workflow call child workflow(s) and use the data from WorkflowCompleted events of the children to continue processing. Is there an activity that can create a Child Workflow What is the best way to call a child workflow from a parent workflow Thanks in advance, JP Change the Type parameter, on CallWorkflowActivity , to instead take the path to the xoml file, or an XmlReader, and add a parameter to do the same thing for the rules file. Then update the call to CreateWorkflow, in CallWorkflowService .StartWorkflow, just like you have been doing. ...Show All
.NET Development Where is Sysem.ServiceModel?
I just installed VS 2005 with version 2.0 of the framework. I'm attempting to work through a WCF example. I don't see the ServiceModel in the AddReference list. Is this a 2.0 or 3.0 component you need to install .NET 3.0+SDK+orcas tools to write WCF apps http://blogs.msdn.com/madhuponduru/archive/2006/09/26/773033.aspx ...Show All
.NET Development Error message when i try to run this code
Dear All; i have a problem when i try to run this code by using asp.net visual c# private void color_SelectedIndexChanged( object sender, System.EventArgs e) { Message.Text=""; switch (Color.selectedItem.Text) { case "Red": Message.Text+="<Font Color='"+Color.SelectedItem.Text+"'>"; Message.Text+="You chose Red"; Message.Text+="</font>"; break ; case "Green": Message.Text+="<Font Color='"+Color.SelectedItem.Text+"'>"; Message.Text+="You chose Green"; Message.Text+="</font>"; break ; case "Blue": Message.Text+="<Font Color='&quo ...Show All
SQL Server Write logg to a textfile and send that file as attachment - problem
I would like to use logging to be able to view information about the package execution afterwards, especially to be able to find out which task that failed and why it failed. Something similar to this: ----------------------------------------------------------------------------- The execution of the following DTS Package succeeded: Package Name: XXX Package Description: YYY Package ID: {5ADDA98B-1F27-404B-8EC4-3568FA4523F6} Package Version: {0DAA5592-D123-4936-94FC-717DDC581866} Package Execution Lineage: {4D353C5F-444E-4870-8A4F-B35B635F3646} Executed On: ServerName Executed By: XXX Execution Started: 2005-06-22 07:14:27 Execution Completed: 2005-06-22 07:40:17 Total Execution Time: 1550,422 seconds Package Steps execution inform ...Show All
SQL Server SQL Way to Suppress Repeated Values
This is a problem I usually solve with procedural code, but I am wondering how/if it could be done with SQL queries. A simple one to many query like: Select inv.invnbr, inv.freight, invline.quantity, invline.partnbr, invline.cost from inv inner join invline on inv.id = invline.InvID Returns something like: invnbr freight quantity partnbr cost 100 50 3 abc 50 100 50 6 def 65 100 50 10 ghi 70 Is there way I can rewrite the query, or add a subquery such that the result set would be: invnbr freight quantity partnbr cost 100 50 3 abc 50 100 0 6 def 65 100 0 10 ghi 70 Eg, the freight value, which comes from the one/header table, ...Show All
Visual Studio Team System Database Project: "Add Project to Source Control" error
When I try to add my Database Project to Source Control, I get the following message: --------------------------- Microsoft Visual Studio --------------------------- Error TF50322: Unrecognized project name. --------------------------- OK --------------------------- I tried to use different project names, I tried to add the project to Source Control during its creation and after its creation - nothing works. Thank you. Following up on my last response, it will be best if I can fax you the document to sign. Can you please provide a fax number Thank you ...Show All
SQL Server Ignoring NULL values in LOOKUP transformation.
Hi, Can you please tell me the way to configure the LOOK UP transformation so that it will ignore all the null values I want to configure a Look up component for the column "Col1" as follows All the NULL values of Col1 should not be considered for look-up process. They should be passed to the downstream component as valid rows. All NOT NULL values of Col1 should be processed by the Look up component. If there is no matching value present for any NOT NULL value of Col1 then it should be directed to error output. Regards, Gopi If you pass the NULL Col1 records to the lookup, you would need an entry in the lookup table to handle the NULL. otherwise, it will fail the l ...Show All
