vej's Q&A profile
Microsoft ISV Community Center Forums Log in with Active X
Hi! Every night I have a macro that is supposed to run and open and login to a program (the Bloomberg professional) and download some data. My problem is the log in process from my macro. Now I use SendKeys but that seems VERY unreliable. Does anyone have any links with code that shows how to use some better techniques e.g. Active X to log in to a program Any help appreciated! Thanks a lot in advance! Hello, I am trying to overcome a similar problem with our Payroll website whereby employees can access their pay data. I am sure with time I will get around the sign in problem. Would it be possible for me to get a sign in for Bloomberg (whatever that may be !!) so that I can experiment . ...Show All
Smart Device Development MessageWindow behavior
I could use a little advise. My MessageWindow callback seems to be getting lost. The code is too long to paste in. I've tried this two ways. First way works good only one time. Second way loses callback halfway through stream. Anyway - six line summary of code: public MainFrame : Form {} public WavPlayer { public void PlayStreamWithCallback{} public class SoundMessageWindow: MessageWindow {} } Setup #1: - create instance in constructor - Create Form with Instance of WavPlayer declared in constructor - Button event calls PlayStreamWithCallback within that Instance with uses MessageWindow callback to process an audio stream. (plays the stream with waveoutwrite) Setup#2 - create instance "on the fly" - Button creates instance ...Show All
SQL Server how toi interact with other clients over SQL 2005?
how can i communicate with other clients over SQL 2005 I mean, i change data of database from a client, how to make othere clients do some actions acording to the data change .( let other client print some report ect.) Thanks This doesn't sound like an SSIS question, but more of an application design question. You can also look into triggers in SQL Server 2005, perhaps. Without more clarification, I'm afraid we're not going to be of much help. ...Show All
Visual Studio ReportViewer in Firefox version 1.5.0.1
I have problem rendering the ReportViewer in Firefox version 1.5.0.1. The width of the ReportViewer is much smaller than expected and the data is just messed up. But the ReportViewer works fine in the early version such as 1.0.7. Any clue on that Thanks. Has there been any progress on this bug My app is crippled right now, since Firefox doesn't handle the reporting properly. If there is not a fix, perhaps some advice would be nice - I am using the TableRdlGenerator/RdlGenerator code from www.gotreportviewer.com . I've modified the code somewhat, but I don't see a very good way to get it to render the textbox fix I've seen elsewhere. Any thoughts on that Thank you! Nolan ...Show All
Visual Studio Express Editions Visual Basic 2005 Express help
ok i have visual basic 2005 express installed and that is all no other programing software on either of my pcs. I am just starting to learn vb. and i am watching these video tutorials and reading these books. it says go to add new item then click inheritance form.. well that option is not availible in 2005 express. So can someone talk to me like i am stupid and tell me how to fix this. and also will inheritance form pull information from form 1. like num1 = whatever and i just reference num1 on the inherited form and it pull the information Thank you for the all the help is this right [code] Public Class Form2 Inherits System.Windows.Forms.form1 Private Sub Form2_Load( By ...Show All
Game Technologies: DirectX, XNA, XACT, etc. When will the Content Pipeline be released?
Can any XNA insider tell me the date the content pipeline released or when will the next version XNA GSE be released Hi Leonlai, At this time we haven't announced any other dates, with the exception of Holiday ’06 for the release of XNA Game Studio Express. The XNA Framework will be included with the first release. ...Show All
.NET Development using vs.net2005 dataset
I have a table Role in sql server with following columns: RoleID numeric primary key Name nvarchar Nullable Description nvarchar Nullable Creation Date datetime Nullable When i drop this table in designer of datset in vs.net2005 and try to make a update query,it makes query like the one below. UPDATE [dbo].[Role] SET [Name] = @Name, [Description] = @Description, [CreationDate] = @CreationDate WHERE (([RoleID] = @Original_RoleID) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_CreationDate = 1 AND [CreationDate] IS NULL) OR ([CreationDate] = @Original_CreationDate))); SELECT RoleID, N ...Show All
Visual Basic Arithmetic exception
""An unhandled exception of type 'System.ArithmeticException' occurred in system.drawing.dll Additional information: Overflow or underflow in the arithmetic operation. """ plz help how to solve this error thanks in advance Please do not post the same question in different VB Forums, the moderators monitor all VB Forums and cross posting simply creates confusion with different thread on the same question with duplicate information. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1014099&SiteID=1 ...Show All
.NET Development How to detect if an exception has been thrown
I need to know if in my current thread an exception has been thrown, is there any elegante way to know this I need to add that code to my RollbackTransaction method, I want to know if there is no transaction in the TLS cause something failed previously. That is what I have on the code... What I need now is do detect from the Rollback Transaction method wether or not an error has occurred. To be more clear, this is the scenario that I have: BusinessComponent::DoSomethingThatRequiresTransactions() { DatabaseOperator.BeginTransaction(KnownDatabases.Global); DataComponentA::DoSomething(); DataComponentB::DoSomethingElse(); DatabaseOperator.Commit(); } catch { DatabaseOperator.Rollback(); throw; } ...Show All
Smart Device Development wsdl and the compact framwork
I am sorry if this is the wrong forum for this but if any one has any ideas thanks. I have the following problem run the wsdl.exe program to get the cs file with the definitions in works fine when run in a windows app with the full framwork. But if I try to move it over to the compact framework I get an error with the " AsyncCompletedEventArgs " in the file as this is not part of the compact framwork. Is there a way to get round this. Many thanks Slim Thanks for that but I have no choice the server is in Delphi and thats what I have to use. So I need to use wsdl.exe for my cs file for the program on the PDA Thanks Slim ...Show All
Visual Studio Express Editions Need Help with Visual Basic 2005 Exp. Registration
Hi, I'm trying to register for the Visual Basic Express that I downloaded sucessfully into my PC. I followed the instructions and go to the Help toolbar to register. The problem that I have is that my computer default the Web browser to Netscape and it giving me error with Java.... Every time I click on Register Now link, Netscape is open up. How can change the default and set Internet Explorer as my Web Browser. thanks LT You should be able to go to Tools->Internet Options->Programs and then check the tab at the bottom that says "Internet Explorer should check to see whether it is the default browser". Once you start up IE it should prompt you to set it as the default browser. ...Show All
SQL Server Difference between Index Seek & Index Scan & Index Lookup operations?
please explain the differences btween this logical & phisicall operations that we can see therir graphical icons in execution plan tab in Management Studio thank you in advance They are both physical operations. The difference is, essentially: An index scan walks every row of the index. An index seek walks only a subset of the rows. -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- < Pouyan@discussions.microsoft.com > wrote in message news:14f10151-a54a-4763-99ee-36dfb4e0a5c8@discussions.microsoft.com ... please explain the differences btween thi ...Show All
Smart Device Development How can i get device id of wm5 motorola smartphone Q device.
I am converting my application from pocket pc to smart phone I wants to get device id in this "3606d294-0000-0100-0008-0050bf3f5171"format for smart phone. Previously i were using KernelIoControl. Now I want's to use GetDeviceUniqueID My code for KernelIoControl and GetDeviceuniqueID is private static Int32 FILE_DEVICE_HAL = 0x00000101; private static Int32 FILE_ANY_ACCESS = 0x0; private static Int32 METHOD_BUFFERED = 0x0; private static Int32 IOCTL_HAL_GET_DEVICEID = ((FILE_DEVICE_HAL) << 16) | ((FILE_ANY_ACCESS) << 14) | ((21) << 2) | (METHOD_BUFFERED); public static string GetDeviceID() { byte[] OutputBuffer = new byte[256]; Int32 OutputBufferSize, Bytes ...Show All
Visual C# Any Easy way to open help files by "F1"?
There is an "Help" on the MenuStrip, and its short key is "F1". I made a user guide of the software in word format. How to open the "user guide" when user click either "Help" or "F1" To use file open and close or some other easy way BTW. Is there any detailed and all-sided information about the items on GUI Thanks a lot! Oh, thanks a lot! It works now... Only Path.GetDirectory should be Path.GetDirectoryName ... with Using System.IO at the beginning.. ...Show All
SQL Server CLR Stored Proc Queue activation help
I set up a queue to activate a clr stored procedure upon receiving a message and nothing is happening. I have tried everything listed in this topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=200684&SiteID=1 except for saying "Recieve Top(0)" which didn't make any sense to me. I have set the database to trustworthy (all of this is taking place within a single database on a local server). There are messages on the queue, and I have the queue activation set to max_queue_readers=2, procedure_name=StoredProcedure1, execute as owner. I tried execute as self and that didn't work either. I signed the assembly that contains StoredProcedure1 and the assembly that it references. The only thing that appears in the sql e ...Show All
