Brandon Tucker's Q&A profile
Visual Basic Clock in VB
Is there a clock that i could put into my program, either one that is already done or one tat i have to code This will display a running clock with the date and time in label1 Private Sub Timer1_Tick ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Timer1 . Tick Me . Label1 . Text = CStr ( Now ) End Sub Private Sub Form1_Load ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Me . Load Me . Timer1 . Enabled = True Me . Timer1 . Interval = 1000 End Sub ...Show All
Visual Studio Team System Why can we not delete objects from schema view?
Hi, What is the rationale for only allowing us to delete objects from Solution Explorer and not from schema view Thanks Jamie So by having that source control plug in enabled you are not able to delete objects from Schema View mairead ...Show All
Visual Studio 2008 (Pre-release) Building a Managed TCP server with WCF
hi, I am Thinking of building a Server/Client application with WCF, and i need to some how monitor the connected client, is that anyway i can retrieve information about all the connected client/session Nait83 Yes, Network connection session to a particular client, and perhaps the client's ID, so that the server able to use the sessions' call back contract to send data to the client. for example User A, Connected to my system, i would like to know if User A is still connected, and i am able to send a msg specifically to User A, if he is still connected, using the Call back contract Nait83 ...Show All
Smart Device Development SHNotificationAdd
Hi I want to have my notification bubbles appear on top of the screen in WM5.0. I've mannaged to make this happen when clicking on the icon, and using GUID {0x99de7411, 0x772f, 0x43d0, { 0x81, 0xf0, 0x66, 0x83, 0x36, 0xca, 0x65, 0x1b }}; , but the bubble does not open automatically no matter what I do. The code works fine on PPC2003, and I found a posting saying this GUID should make WM5.0 behave in the same way. Is there another GUID I can use that also makes the bubbles appear automatically, and not only when clicking the icon (I do not want an icon, only the message). Karo Try this post http://www.codeguru.com/cpp/w-p/ce/memorymanagement/article.php/c11113/ Manav ...Show All
Gadgets Tutorials?
Looking to port some tutorials and info on to www.customizevista.net to build a development community for Vista. Anyone willing tasrrao pass on some links or info Thanks!! http://msdn2.microsoft.com/en-us/library/aa974179.aspx http://channel9.msdn.com/Showpost.aspx postid=255735 http://galactic-patrol.spaces.live.com/blog/cns!15E79917F0743763!139.entry http://msdn.microsoft.com/library/default.asp url=/library/en-us/sidebar/sidebar/reference/objects/systemgadgetsettings/read.asp http://msdn2.microsoft.com/en-us/library/ms723694.aspx http://blogs.msdn.com/sidebar/archive/2006/09/21/765604.aspx http://www.microsoft.com/technet/scriptcenter/topics/vista/gadgets-pt1.mspx http://www.aeroxp.org/board/index.php showforu ...Show All
Visual C# Convert Decimal to String???
this .txtCommission.Text = ( decimal )_SalesPersonToEdit["Default Commission"]; How do i convert this string to a Decimal, I have tried using ToString() but that does not work and I also tried to use Convert.ToDecimal(string) = object....and that didnt work eithier any help on this situation! thanks! but the line i posted - no where does it convert to decimal. It may well be producing an error from some other place. you could also try: this.txtCommission.Text = Convert.ToString(_SalesPersonToEdit["Default Commission"]); ...Show All
SQL Server Query Cube using SQL Select instead of MDX Select
In Analysis Services 2000, you can query cube using regular SQL Select command. http://msdn.microsoft.com/library/default.asp url=/library/en-us/olapdmpr/prsql_70e0.asp Does Analysis Services 2005 support this feature Right now, I am using OpenQuery with MDX query to return Cube data into a SQL table: select * FROM OPENQUERY (Olap_Linked_Server , ' select [Measures].[Sales] on columns, [Accounts].[Hierarchy].Members on rows from SalesCube' ) But the result SQL table has long column names. How can I rename them Thanks, Bo Do your first insert into a temp table(TSQL) and rename the columns when you do the next insert to a second table, by using standard 'as', for renaming. ...Show All
Visual Studio Express Editions Suite Integration Toolkit Executable has encountered problem
I have encountered this when installing VS Express on Win XP 2002 SP 2 "Suite Integration Toolkit Executable has encountered a problem and needs to close. We are sorry for the inconvenience." I also tried saving and installing. Still encounter same problem. I had the same problem but able to fix it. Check your HAL (Hardware Abstraction Layer). If it is "Hardware Abstraction Layer Version = "5.1.2600.2180 (xpsp_sp2_ rtm .040803-2158)", RC1 or RC2 instead of RTM, it is beta version, so you need to upgrade. Then you are done. Alemayehu ...Show All
Visual Studio Express Editions Scheduling a procedure
I need to run some code at a certain time. I can do a While loop controled by a Time variable, but I think that that is too inefficient. What is the best way to do this I have something in mind like the Application.OnTime of VBA. Thanks, Antonio At the moment I am using While timestart- Now.ToUniversalTime > System.TimeSpan.FromSeconds(120) Sleep(5000) End While Is there a better way to do it ...Show All
Windows Forms Access to registry key is denied
Hi, I got this "Access to registry key is denied" error when my user tried to run the win form app I developed. On the Login form, I have following lines of code that will read/save user login name in the registry. LoginName = Microsoft.Win32.Registry.Users.GetValue( "CSRTSName ", LoginName).ToString Microsoft.Win32.Registry.Users.SetValue( "CSRTSName ", LoginName) The purpose of this is to save last logon user's name into registry, and on next logon, the same user doesn't have to type in logon name. This works on my dev machine and any other users who have admin privilage. But to everage users, I got above error. How do I grant permission to my code By the way, I did not find that key on my own machin ...Show All
Visual C# Problem to Build a project in C#
Hi friends! I have this problem when i try build a project. Error Message Missing partial modifier on declaration of type 'type'; another partial declaration of this type exists But i can't fix the problem :( Thanks friend! good ideas and tips! But the problem continue... I deleted the duplicated Initialize and dispose and more duplicate! But the problem persist.! Here the link with modifications! http://www.pixfolder.com/images/3314.zip ...Show All
SQL Server Subreport NoRows property
Hello, How could I render textbox,for example, instead only string When my report datasource is null it is returned as blank, how could I return some content. I don't want to use NoRows, it makes available only string Thanks Actually NoRows can be an expression as long as it evaluates to a string. http://msdn.microsoft.com/library/default.asp url=/library/en-us/RSRDL/htm/rsp_ref_rdl_elements_fp_58qc.asp ...Show All
SQL Server ReportExecutionService
Hello all I am trying to build a web user interface to render a report using web service. In my code (Vs2003 - Visual Basic) of the web form, I have the following 3 lines in various placces. 1. Dim rs As myserver.ReportExecutionService = New localhost.ReportExecutionService 2. Dim execInfo As New myserver.ExecutionInfo 3. Dim execHeader As New myserver.ExecutionHeader When I run the code the debugger says myserver.ReportExecutionService, myserver.ExecutionInfo, myserver.ExecutionHeader are not defined. Environment: win2003 ent, Sql2000, SQL 2000 report service Prof sp2, Vs2003 sp1 What am I doing wrong The CodeProject web site has a SQL Report Service web UI using the SOAP API that is ...Show All
Software Development for Windows Vista Vista Bug with .NET Framework Application
I have submitted a report about this with the "Microsoft Beta Client" 1 month ago and today also. In the latest build the problem is still there. I got no response from the submission, no identifying issue ID and no updates. Any idea on how to find the status of a submitted issue It did inform me the submission was successful. Maybe this is where I am supposed to get the response This is the issue: We (IDAutomation.com, Inc.) have a widely used application named "IDAutomation Barcode Label Software" that is use to design and print barcode labels. The application was created in Visual Studio .NET 2003. The problem is that elements or controls are not visable when dragged onto the design area. What happens in Vis ...Show All
Visual Studio Express Editions Problems encountered.
Hi, I'm currently doing a client connecting to the server and I encounter some problems. I have add WS2_32.lib in my library but the program prom that " error C2065: 'connect' : undeclared identifier ". I have already declear it. Is there any solution to slove it Sorry, it builds fine when I try it. Maybe there's some problem with the Platform SDK you used, but that's pretty unlikely... ...Show All
