Software Development Network Logo
  • Visual FoxPro
  • Visual C#
  • VS Team System
  • SQL Server
  • Microsoft ISV
  • Game Technologies
  • SharePoint Products
  • Windows Vista
  • Visual Basic
  • Visual C++
  • Windows Forms
  • Smart Devicet
  • Visual Studio
  • .NET Development
  • IE Development

Software Development Network >> Tommy.Le's Q&A profile

Tommy.Le

Member List

cosminb
Samoyed
Atul Bahl
Christian Hayter
S_Mayu
r2thej
smithygreg
Keith27
LarBru
staypufd
Ben Taylor
schmack
Kristof Claes
Colin Reid
Erik Eilerts
Tanmaya
Keith Hill
Radoslav Č&#225&#59;p
Jay Burt
paso
Only Title

Tommy.Le's Q&A profile

  • Visual Basic Looping through form controls (simple I know!)

    Hi I'm trying to write something that will loop through every text box on a form but it's not working quite right. The text boxes may be inside containers such as tabpages or group boxes and this is what's causing the problem. How do I loop through every control regardless of if it's in a container Example :- For Each control As Control In Me .Controls If TypeOf control Is TextBox Then MsgBox(control.Name) End If Next Thanks Just cycle through all the controls in a container, and if a control happens to have childcontrols, then add that control to the list of controls that need their children checked. This code may explain it best: ...Show All

  • Visual C++ Open a browser

    Hi there I have trouble to solve a problem. Imagine the following situation: I use the WinInet-API from Microsoft to login to a sever. The server is written is whatever (i think its Java or something like that). The authentication works over a session cookie (named for example JSESSIONID and contains a string like: "Kjf98zh123on0h834..."). The whole login-process is a 2nd step login with a UID/PWD for the first step and a challenge response code for the second step. But never mind, its not so important. Only that you can imagine what I am talking about if I say "Login to a server". The messages from the server for "Login okay" e.g. and so on are simple ASCII-Text-Messages. I parse them and can see: &q ...Show All

  • SQL Server Locked out of reporting services

    Hi. I have a server with reporting services set up and SQL server 2000 running. Recently I renamed the server (because it just had the generic HP server name that the machine ships with and I just noticed that no "real" name was ever given during setup). Ever since the computer name change, I no longer have administrative rights to reporting services. SQL Server databases function fine but I can't get into Rep Svcs. The Built-in/Administrator is gone and I am not allowed to add it since I now don't have the admin rights. (even though I'm logged onto the server as the administrator.) I haven't been able to find any information how to remedy this issue short of uninstalling and reinstalling reporting services. Can someone ...Show All

  • SQL Server Linked server 2000 to 2005: Error 17 sql server does not exist or access denined.

    I'm trying to link SQL Server 2000 sp3 to SQL 2005 64 bit. I keep getting Error 17 sql server does not exist or access denined. I tried adding remote user mapping and chaning the linked server properties to "Be made using this security context" without any success. Any help is appreciated. Cacu, Looks like your problem is not specific to linked server. Can you use other tools such as osql to connect to your SS2005 directly Certain SKUs of SQL 2005 do not allow remote connection by default. You can use SS2005 surface configuration manager to enable remote connection. If the server is a named instance, you also need to add firewall exception for sqlbrowser udp port 1434. ...Show All

  • Software Development for Windows Vista Getting readonly data without locking the workflow instance in a WF runtime-multihosted environment

    Hi, Please, consider the following scenario: A web farm or web garden A common store for SqlTrackingService and SqlWorkflowPersistenceService with locking enabled An ASP.NET web service running in the web farm or garden that: Host the runtime Exposes custom message-based interface to clients (web or windows apps) and encapsulates workflow stuff Interact with the hosted workflows using the runtime Now, several persons using a web application are requesting read only data about the same state machine workflow instance at the same time. This data are the workflow state and allowed messages. I have seen the ordering state machine sample, and I have realized that it gets the allowed messages from the workfl ...Show All

  • Visual Studio Team System Code Analysis Policy Problem

    I added "Code Analysis" policy type in to check-in policy and removed some rule from Code Analysis Policy Editor. Then I open my solution and click "Migrate Code Analysis Policy Settings to Solution". I saw all rule is enabled in Code Analysis of Project. I don't understand why "Migrate Code Analysis Policy Settings to Solution" does not remove some rule in project This is in fact by design, but we should also have supported the gesture that you're requesting. We are looking in to developing a power tool that can help automate copying the code analysis policy to all projects in a solution. The fastest way to do this today from the IDE is to disable all rules in each project before migrating the policy. I ...Show All

  • Visual C++ Read access violation when buffer bigger than 2048

    Hello, I'm an old mainframe assembler programmer and I'm trying to teach myself C++. I've bungled through writing a program to copy a file (just to get familiar with I/O. The program works fine when variable BuffSiz is 2048 or smaller. If it's bigger, I can't even start debugging. The error is: Unhandled exception at 0x004012af in Compression.exe: 0xC0000005: Access violation reading location 0x00371000. I am using VS2005 on XP SP2 with the latest SDK. This is a Win32 Console App. This is my first program so please ignore (and advise of) the many shortcomings. Also - how do I get the code to post here as it is formatted. Also - I see a couple of light bulbs. They should be replaced with brackets containing the value of "i ...Show All

  • Visual Studio Problem inserting code Snippets

    Hi, I am having difficulty inserting code snippets. When I right mouse click and say Insert snippet I'm told that there are "No snippets available". The same thing happens if I go Edit -> Intellisense -> Insert Snippet. I've checked in the Code Snippets Manager and all the locations and paths are correct and I can view all of the snippet files in explorer. This used to work fine for me. I installed SP1 about 2 weeks ago - but I'm not sure if this is when the problem arose. Can anyone shed any light on what might be wrong Thanks very much, dlarkin77 Have you tried resetting your environment settings god knows that might help. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=3809&am ...Show All

  • SQL Server Showing "last update time" in the cube ?

    I was thinking of a way to show the last updated time in the cube for the users to see. It has to be very simple and it has to be visible for the user to see in the client tool. So i was thinking of the easiest way to do that and hopefully someone will comment! The way i could think of it is is a dimension (called "last update") containing 1 single member, which is the last updated time. The way to create that could be to create a Named Calculation that reffers to the dimension having the number "1" in all rows. Then create a table with (id, lastupdate) and each time the cube is updated i'll put a (1,getdate()) in the table and update the dimension This should be the simplest way or any sugestions ...Show All

  • Internet Explorer Development Errors in MSDN Library's Web Development section

    The MSDN Library’s Web Development section is an important reference source for many web developers. Its accuracy is therefore important. But I can’t seem to find anywhere to report errors in the documentation. Does anyone know who to talk to if we need to get errors fixed In case anyone is reading this message who can fix such errors, the example given for the HTML Q element [1] is erroneous: <P>He said, <Q>"Hi there!"</Q> If you consult the referenced HTML 4.0 specification, you'll discover that this example is seriously mistaken [2]. The specification states explicitly: ‘Visual user agents must ensure that the content of the Q element is rendered with delimiting quotation marks. Authors should not pu ...Show All

  • Visual Studio Express Editions upgrade problem

    I have a line of code that is not co-operating when it is upgraded from vb6 to vb express 2005 I am not sure of the best way I would want to fix the problem this is the code and error along with its function 'This function fetches the registry key that contains the serial number for Application 'UPGRADE_WARNING: Couldn't resolve default property of object serialnumber. Click for more: 'ms-help://MS.VSExpressCC.v80/dv_commoner/local/redirect.htm keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' serialnumber = GetSetting( "Application" , CStr (VariantType.Null), "SerialNumber" , "nonreg" ) if I were to foillow the help I would get something like this Dim txt SerialNumber As Stri ...Show All

  • Visual Studio Tools for Office Seeking opinions on the structure of a new VSTO book

    So, I am writing VSTO for Dummies. I wrote VB for Dummies, so it makes sense - VB type programmers will make really good use of VSTO I think. My initial concept for the book was three parts. Part 1: Concepts and design Part 2: Addins Part 3: Smart Documents In part two and three, I was planning on having a chapter on each Office platform that supports that feature. Well, now that I am writing I am not too sure about that format. It just seems to constricting, and that I will be repeating a lot of information in the first few pages of each chapter. It got me thinking - I don't really know how people are using VSTO. I mean, I know the generalities, but I don't know how the average user of the software - the kind that would ...Show All

  • SQL Server excluding a package from the build process

    There is some way to exclude a package from the build process of a SSIS project Cosimo cosimog wrote: There is some way to exclude a package from the build process of a SSIS project Cosimo I don't think so. it would be nice though wouldn't it Try submitting the request at http://connect.microsoft.com/sqlserver/feedback -Jamie ...Show All

  • Commerce Server Who is using Commerce Server 2007?

    I am looking for companies using Commerce Server 2007 One of my clients, wants to move to Commerce Server 2007 but I am not sure how successful it is. Any help is appreciated! -- Salim Hemdani Jeff, The company I am working for is currently using CS 2002 and would like to go live with 2007. Can you tell me how you imported the catalog from 2002 to 2007 Did you do an upgrade I tried importing the catalog (XML) today and I keep getting errors. I also tried to import using "Replace" and I still get errors. I am new to CS all together, and I just got the starter site working. Any comments or suggestions would really help. Regards, Duwayne ...Show All

  • Visual C# My own application and My own extension-Registry

    My own application and My own extension-how to add in Registry No, it doesn't use their own DLL and api's. It contains source C# code that you can just use. Look at their source code - it will show you what to do. ...Show All

©2008 Software Development Network