Ryan D's Q&A profile
Visual Studio Express Editions Collection access in event handler (newbie)
Hi I am making huge progress on my first program in Visual Basic Express, and have come to an abrupt stop. I have dynamically created a new Panel and dynamically populated it with a series of textboxes. Then I have filled each box successfully with desired text contents. These procedures work well and I can refill the textbox text properties at will. During the dynamic creation of the textboxes, I added each to a collection with: newP.Controls.Add(newT) 'put new button into panel COLLECTION I assigned an event handler for all of them with: AddHandler newT.Click, AddressOf ClickButton ' all textbox click handler wh ...Show All
Visual Studio Tools for Office Smart Tags and Stock Quotes
Hi, I am not sure if this is the right forum to post this question in. I have also posted it in the Excel newsgroup. If anyone could point me in the right direction I would appreciate it. I have a few questions regarding a custom smart tag that I am developing. My client has a number of stock feeds in various formats. He would like a smart tag in Excel to recognize custom symbols and then have an action available to get the latest price from the web. I have created a class library that implements the necessary interfaces (ISmartTagAction, ISmartTagAction2, ISmartTagRecognizer, ISmartTagRecognizer2). The solution works fine, but he would l ...Show All
Visual Basic MySQL and VB2k5
It doesn't seem that vb2k5 have any support for MySQL. So I downloaded .net connector for MySQL, but I don't think I can use the wizards and visual tools that you could for other db's like MSSQL (of course), oracle, etc. Is there a way to use the visual tools for db's with MySQL Dat You are correct, VB Doesnt provide built in support for MySQL. If your using the VB Express version - then the answer on the designer tools is No. The Express versions IDE is limited to support Access and SQL Express only. If your using a pay version of VB such as VB Professional addition - then the IDE does support other database like SQL Server a ...Show All
SQL Server DateTime parameter format
Hi everybody A quick question - is it possible to present DateTime report parameters with specified format. Let's say instead of '9/3/2005 12:00 AM' i'd like to show '9/3/2005' only. Plus maybe it's possible to plug in some sort of a popup calendar. Thanks for response, Konstantin One way of pluging in a popup calendar would be to create a front-end application to the report. You would use either the URL Builder functionality (fast) or the Web Service (slow) to run the report. The parameters could be created from any control (calendar, datagrid, etc...) There are some sample apps out there that do this (and some ...Show All
Visual Studio Team System Problem capturing events from TFS.
We tried to build a prototype for capturing the events from VSTS as follows - 1. A windows application - EventingClient - It contains a button - Subscribe - on click of which the following piece of code gets executed to subscribe to workitemchangedevent. LogonToVSTSServer( "Tcs046247.testdom" ); //set the delivery preference to immediate delivery via SOAP DeliveryPreference DP = new DeliveryPreference (); DP.Schedule = DeliverySchedule .Immediate; DP.Type = DeliveryType .Soap; //the URL to the callback WS DP.Address = @"http://aa3240234:11790/Service.asmx" ; //user name of the subscr ...Show All
Visual C# How does Properties window in VS.NET 2003 work?
Hi, I'd like to know how the Properties window in VS.NET 2003 works. If we open multiple documents in VS.NET 2003, selecting different Tabs will change the content of the TreeView-like control in the Properties window. I guess that it's done by just dynamically switching the TreeView-like objects associated with the selected Tab. How does it work otherwise Thanks in advance. I can't say exactly how Visual Studio did it. It might help to think of it like a modified Model-View-Controller pattern. See an example of this pattern here: http://msdn.microsoft.com/netframework/default.aspx pull=/library ...Show All
SQL Server UK Datetime parameter problem SQL 2005 RS
Hi, I am having a problem with the DateTime parameter option in SQL 2005 reporting services. Note that Server, workstation and database are set to British/English (UK) date/time localisation (dd/MM/yyyy) for example 25 th December 2005=25/12/2005. I create a simple query with a parameter on a datetime column and set the report parameter to Data type: DateTime in the report parameters dialog. On preview or after deployment the following behaviour is observed. Selecting 1st February 2006 in the datetime picker control populates the date parameter entry field with 01/02/2006 = 1st February 2006 (the c ...Show All
Software Development for Windows Vista Network connection issues (build 5308)
in winxp, to connect to my server i went to "map network drive...", typed in my info, and connected. in another thread on this forum, it was said that \\server\share ( \\bart\alex in my case) worked in xp, it will not work in vista. it instead needs \\server.mydomain.com\share , but i still can't figure out how to connect to my network in vista... could someone please help ...Show All
Visual Basic client server
I know u can do client/server with winsock, but what is it and how do u get it Someday, someone will invent winshoes to go over the winsocks, but winsocks give you a lot more freedom. ...Show All
Visual Basic Email from vb.net 2005 using SMTP
Hi I am trying to send email from smtp client by using system.net.mail, if i send and receive in my companies smtp server it works properly, however if i send mail to hotmail, rediff, gmail etc (all ids are valid known email id ), it gives error like Mailbox unavailable. The server response was: not local host gmail.com, not a gateway please provide me a solution. thanks Atanu Another possible cause for this error is if the outgoing SMTP email server you are using "Requires secure authentication" and the wrong username and/or password is supplied. ...Show All
Windows Forms toolstrip progressbar
Hey i have this "webbrowser" i sort of made myself, but i want a "ToolStripProgressBar" but i cant make it show the progress from my browser. what du i need to do what cammand will i need to call in which event //Martin The ToolStripProgressBar is used on a Strip item such as MenuStrip, ToolStrip and in your case StatusStrip. by the desinger, you should drag StatusStrip and then you can select ToolStripProgressBar to add to it or by code: ToolStripProgressBar toolStripProgressBar1 = new ToolStripProgressBar (); toolStripProgressBar1.DisplayStyle = System.Windows.Forms. T ...Show All
Visual Studio Team System Indenting in .testrunconfig and .vsmdi files
Hi We have a problem with merging .testrunconfig and .vsmdi files. If, let say, two developers change these files, they need to merge the files. But VS generete these files without any indenting. It meens that it is impossible to merge the files. Is it possible to switch indenting on By the way, you can restore the indenting by opening the file as XML and then choosing Edit->Advanced->Format Document. You'll lose the indenting the next time the file is saved from outside the XML editor, but this can at least make it easier to see the file's contents. For merging, you could request that all u ...Show All
.NET Development VS2005 RC1 Dataset merge bad performance
Hi, We've just migrated from Beta2 to RC1, and we get very bad performance with the (Typed) Dataset's merge function. After analyzing with a profiling tool, we've discovered that the merge function calls the GetRowType many many times more that in the previous (2.0 beta2) version. for example - for a dataset with about 10 tables, one of them with 6000 rows: in Beta2 - GetRowType called 18 times. in Rc1 - almost 20,000 times. in Beta2 - 1-2 second in Rc1 - 8-9 seconds Is there a workaround or will be a fix to that problem. thanks, Oren. hi Pham. i am readiing ur article. i am facing a similar kind of problem i ...Show All
Smart Device Development Get system time of desktop in Pocket PC using activesync
My pocket PC is connected to desktop via active sync i want the Pocket PC application to then get the date/time of the PC the device is connected to .. is it possible I am using .Net Compact Framework for development AS would set device clock to desktop time automatically if you have partnership established. Or you can install (S)NTP server on desktop and use (S)NTP client on device to get time. ...Show All
Visual Studio Express Editions Playing MP3 Files
I was delighted to see how easy it was to play a .wav file from VB Express. Unfortunately my application will need to use MP3 files due to some real size constraints. My testing produces an error message saying "Corrupt wav header" when I pass it a file with an MP3 extension. In researching I have found that VB Express as delivered does not support MP3 functionality. I have also found references to MP3 capabilities within the .Net managed code but no help in what my VB code must do to implement them. Anybody been there done that It would help me tremendously. I am working hard and nearly done! I must yet convert the sound processi ...Show All
