dops141441's Q&A profile
Visual Basic Fraction to decimal
Hi! I have a list with prices of US Treasury bonds. They are quoted in a particular way that I would like to convert to decimal form. They are quoted like this eg: 99-02. Now this means that the price is 99 and some decimal. The two first numbers are the number of 32:s. Thus in this case the price is 99 and 2/32. However if there are three decimals eg 99-021 the last digit refers to the number of 124:s. Thus the price is 99 and 2/32 and 1/256. Sometimes There are only two decimals followed by a plus or minus sign eg 99-30+ or 99-10-. The plus/minus indicates that you should add/subtract 1/64. Keep in mind that the non decimal numbers may be one, two or three digits. Thus, it could be eg. 6-02 87-22- or 105-21+. Is there any wa ...Show All
Connected Services Framework Profile Integrator failure on subscription through ProfileSubscriber tool
Hi, I was trying to set up subscription of ProfileIntegrator through Profile-Subscriber tool. The command ran successfully, and returned a subscription ID. However in event-log I could see Profile-Integrator getting failed. Following is the profile-subscriber tool command used: C:\Program Files\Microsoft CSF\V3.0\Connectors\Profile Integrator\bin>profilesub scriber -subscribe csfdomain\csfuser1 Csfuser@123 http://blrkec21593d/ProfileMa nager30/ProfileManager.ashx http://blrkec21593d/ProfileIntegrator30/profilein tegrator.ashx Subscription: Identifier = 7f58c937-d667-4d0f-bddf-d4a099a95521, SubscriptionMan ager = http://BLRKEC21593D/ProfileManager30/ProfileManager.ashx M ...Show All
Visual Basic Tab Control Question
I am very new at this, so my method may be very odd. Anyways, I have a tab control that occupies the main portion of my program, with various icons on the left to open different aspects of the program. Each item on the left creates a new tabpage in the tab control. The actual design of the tab pages is held in seperate vb forms and I add the tab pages to the maintabcontrol during run time. I did this because I may untimately have 20+ tab pages with different aspects of the program, and designing them all on the main tab control was just a mess to work with. When someone clicks the close button it disposes the tab page they are currently working in, but then I cannot get it to recreate the tab page (if the user reopens that section of the p ...Show All
Visual Studio Express Editions The Form1_Load event will not occur
This is very disconcerting. Any new project will not show the main window. I noticed that the Form1_Load event is not happening even though the Form1_Load () sub is clearly specified as the handling procedure for the load event in the events section of the properties window for the Form1 form. Does anyone knows what is going on. I even did a side by side comparison of an older program, stripping it from everything and leaving only one form, called Form1 and a new project containing also one form called Form1 and made sure everything was equal in both instances of the IDE but still…the new project appears to run correctly but exits without every loading Form1 while the old one works as expected. I also uninstalled the net framework 3 ...Show All
Software Development for Windows Vista Access Denied insufficient rights
This weekend we purchased the toshiba A130 loaded with windows vista. I deleted some of the programs that i wouldn't use and added my printing software with no problems. But when I tried to load my Pinnacle software I received the following message. "Access denied, insufficient rights-to install software you must have administrative rights. Please log on as Administrator and start the installation again." At that time I was the only user and already WAS the administrator. I called toshiba and spent a very long and frustrating time NOT getting helped. I tried a few more things on my own but admittedly I have very limited computer skills. Can anyone help me Thanks! I have the same problem exactly ...Show All
Visual Basic Visual Basic 2005 Tutorial's?
I have visual studio 2005 and learned visual basic and wanna go to the next step now so i was wondering what kinda tut's should i start with or should i start with something else for intermediate level And visit : Visual Basic Learning Center , there are many free resources and books to learn Visual Basic ...Show All
Software Development for Windows Vista installutil.exe installing windows service
I'm tring to install a windows service and keep getting the following message, can anyone help with this TIA C:\Program Files\My Application>installUtil.exe MyApp.exe Microsoft (R) .NET Framework Installation utility Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Running a transacted installation. Beginning the Install phase of the installation. See the contents of the log file for the C:\Program Files\My Application\MyApp.exe assembly's progress. The file is located at C:\Program Files\My Application\MyApp.InstallLog. Installing assembly 'C:\Program Files\My Application\MyApp.exe'. Affected parameters are: logtoconsole = assemblyMyApph = C:\Program Files\My Appli ...Show All
SQL Server installtion file for SQL CE 2.0 to install in Real PocketPC
HI, i have one instalation file of SQL CE 2.0 named setup.exe ,i installed that in my desktop it works well.i could not install the same file inside the pocketPC.Can any one give me some information about how to get the installation file of SQL CE 2.0 and how to install that in real pocketPC.Thanks in advance. Best Regards Ihsan Not having worked with SQL CE 2.0 (available here ) for a while I would assume that it follows the same pattern as the current verion which is that the installer is to be run on the desktop NOT the device. After running the installer either the runtime dlls or a mobile installer will be available - you should also read the ReadMe and consider installing the book ...Show All
SQL Server Notification in case of package failure
We have an application comprising of a number of SSIS packages that run every few hours. When a package fails, we would like an email to be sent to a pre-configured address with the required information. I would like to use Send Mail task with SMTP server like smtp.sbcglobal.yahoo.com, but this server requires authentication and I need to provide my user_id and password for that. I have not been able to figure out where I can configure user_id and password for getting authenticated by the SMTP server. If SMTP connection cannot be used, is there any other way to notify admin of the failure Thank you in advance for your help. Alok You could send an email from a script task. There's some code here that shows how to do it: http://fo ...Show All
Windows Forms Displaying the Date in Masked Text Box
Hi, I have a masked text box in my application and I store the value in MsAccess db. when I enter a date as 11/12/2006 it is stored as it is and displays fine when i retreive it. But when I enter a date as 12/04/2006 it is stored as 12/4/2006 in database. when I retrieve and display value, it displays as 12/42/006_ . When formated the date maskedtext.text = dateNow.ToString("mm/dd"yyyy"); it displays as 00/04/2006. Please advise me on how I can display the date in the masked text box as 12/04/2006. thank you so much. Hi I resolved this issue buy writing a small method to format the date. This method parse the days and month and check if the number is less than 10. If true it adds 0 infront and the date is rege ...Show All
Visual Studio Tools for Office .Net setup failure in Win2k
i have created a setup file in .Net 2005 under xp platform, where i created the project on xp with .Net 2005. when the run the setup file in works fine on XP , but when i run the setup on win2k , i am getting an error System.DllNotFoundException: Unable to load DLL 'uxtheme.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E), this must be the reson that xp themes are not installed on win2k , how to resolve this issue, where i want to run the setup created on xp platform on win2k http://www.google.com/search hl=en&q=conditional+installation Or even more precise link: http://msdn2.microsoft.com/en-us/library/aak1cze8.aspx ...Show All
Visual Studio 2008 (Pre-release) confused of creating an instance c#/xaml
Hi, I have a good grasp of OOP from my Actionscript 2.0 background although I am very new to c# and xaml. I am somewhat confused that I have to create an instance of an object in c# when it already exists in xaml. For example; I create a Storyboard in xaml and call it myStoryboard. If I want to access and manipulate myStoryboard in c# I have to create a new instance of Storyboard before I can set it = to myStoryboard. Why do I have to do this if the instance already exists as it seems to me that I now have an instance of an instance Sorry for the nub question but I just can't seem to fully appreciate the 'why' of this process thank you Thanks again for the help. hopefully one final question: why do I not have to ...Show All
SQL Server Forward looking thought: Raw Files
I assume that MS has a directive never to change the format of SSIS raw files... However, what I'd like to know is that when I'm planning long-term systems where I've got backups of data (staging, logging, whatever) using raw files, can I be assured that future versions of SSIS will be able to read those raw files I assume a certain level of backwards compatibility, however, I'm just curious if I should think about building processes into my projects that would factor that in and rebuild raw files everytime a new/major release of SSIS comes out. Phil We may change the format of SSIS raw files in any version. If we do, then we will ensure that the previous version can be read – but we will not make a continuing guarantee that every ...Show All
.NET Development .NET 2.0 Windows Error Reporting trouble
I have trouble trying to use Windows Error Reporting for a .NET application. Actually, my application throws an exception, and the exception is not handled in the application, then CLR's Unhandled Exception dialog box is appearing, but the usual Windows Error Reporting dialog (Send Error Report / Don't Send) doesn't appears. I read that .NET Runtime 1.1 has no support for Windows Error Reporting(WER); (http://support.microsoft.com/servicedesks/webcasts/en/wc021303/programmingforwer.doc ) (Search for "What is the WER story for Managed Code" -- on page 16) . I also read that .NET 2.0 has support for WER, moreover it's difficult to turn it off programmatically for a specific application (see http://forums.micr ...Show All
Visual C# Simple Question regarding Objects
I'm a bit reluctant to post this question in the forums because I know that the answer is going to be something fundamental, but I've come to a point where I simply can't continue programming without having it answered and after hours of searching I'm at an end of what to do. So here goes: How can I access the properties and methods of an object from a class other than the class that the object was created in. For example, I create a new object (called object1) in a class (lets say Entity.cs) and this new object, object1, contains a method called update. Now here's the problem, I want to call the object1.update method from a class other than the Entity class (for example Other.cs) how can I do this without creating a new object in the O ...Show All
