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

Software Development Network >> al_puff's Q&A profile

al_puff

Member List

malc_s
WXS123
HMote
SivaS
mikaelangelo
Star1234
madshi
jaydeep
bxs122
DebroyV
CodeHaxor
Graham Wager
vbtheo
zdrae
erick_the_redd
Dmitry Pavlov
barkingdog
Alle
Tony Maynard-Smith
Vishal Shah
Only Title

al_puff's Q&A profile

  • Visual Basic problem of controls array in Visual Basic 2005

    Hi: I wrote a project in vb6.   That project contains controls array and I want to upgrade this project to vb2005 but I have some problems. In vb6:       I have array of checkbox When the user check the checkbox   It's index = I as integer   then Create 3 elements in 3 arrays of combobox All this elements have the same index     When I want to determine any combobox by the index of checkbox I will write code like this:       For i = 0 To Check1.UBound         If Check1(i).Value = vbChecked Then              &nb ...Show All

  • Visual Studio Express Editions image to a picture box without using the properties window.

    Hi, I would like to place a p icture box on a form and using a text box select from any number of images to show in the p icture box. How can I assign an image to a p icture box without using the properties window. Ken Public Class Form1     ' This example loads a combobox with all of the     ' image type files you have added as embedded     ' resources.     ' Picturebox1 is then changed to what you     ' select from the combobox.       Private Sub Form1_Load( ByVal sender As Object , _     ByVal e As System.EventArgs) Handles Me .Load &n ...Show All

  • Visual Studio Team System Why does your toolbar reset when you install the VS2005 SP1

    Hi, We use VS2005 TE for Developers, I Have downloaded and installed the VS2005 SP1 but all my custom tools and controls disappeared. We Also use the DevExpress Tools and even after running the 'Toolbox Creator' tool, the toolbox still didn't show the tools. Can anyone give me a reason for this While I don't have an answer/solution to your question, can you post a bug report on Microsoft Connect so that we can get this fixed before the RTM Regards David ...Show All

  • SQL Server How to pass .net application's parameter to a TRIGGER?

    How can i pass my .net application's Userid to the trigger I have a audit trail trigger on myTable.  I dont know how to pass the userid (not the sql server user) to the trigger when a user delete a record from the application(.NET Application). The trigger saves the modifications on the table including the userid of one who does the changes. If you put the code that get's a connection at the start of a transaction into a common object then having this object set context_info with the application user name/id would be far simpler than having all parts of the application know about sending a user id as part of the insert, update or SP call. The trigger should be setup to use the @@CURRENT_USER if context_info is not set. ...Show All

  • Visual C++ DLL calling static function in main app

    Hi, I'm trying to develop a pluginsystem for a project I'm working on. During inititalization of the global section in the DLL a call is made to a static function in a class named "Instantiator" which registers the plugin class with it's name in a map. However both the application and the DLL share a instance of the "Instantiator" class. I thought that because the member function are declared static that both the application and the DLL would use the same instance of the "Instantiator" class Is there a way to get the required behavior Regards, Christian Sorry about my confusing explanation. I'll try to explain a little bit more. There is a class named "Instantiator" ...Show All

  • SQL Server Drillthrough with Return clause

    I am trying to perform a drillthrough with the return clause so that i can get the member keys. when the performing the drillthrough, i get the followin message: Errors from the SQL query module: The 'dim peiod' table either does not exist in the 'Dm GL' schema (or cube.), or the user does not have the necessary permissions to access it. I've dumbed down the query as much as possible i think - and it works fine without the return.... drillthrough maxrows 10 select {[measures].[amount]} on 0, {[dim acct].[account]} on 1 from [dm gl] return [dim peiod].[month] thanks much, sully I think the combination of the spelling and the missing "$" might ...Show All

  • SQL Server Daylight Savings Patch for 2000 Server

    I was wondering if there is a simple patch for 2000 server. It seems that the only fix is to edit the registry and to use the time zone editor app. If there is a simple patch like there is for the 2003 servers i would appreciate it if anyone can show me where. I have about 80+ servers with 2000!!! Much appreciated! Look at this KBA http://support.microsoft.com/ kbid=928388 for more information. ...Show All

  • SQL Server strange behaviour with select (...)NOT IN (...) command; Anyone who can help?

    Hello, To import data in my base, I use a source table named TEMP_DocumentsEnTetes as a buffer and a destination table named DocumentsEntetes. In both tables, the GCKey field (nvarchar(30)) contains a unique identifier. At some point, I need to know if a record in the TEMP_ table is already in the destination one or not. To do so, I do this: select * from TEMP_DocumentsEntetes where GCKey not in ( select gckey from DocumentsEntetes ) -> Returns no row, but this did not sound normal, so I checked my data doing the following requests: select * from temp_DocumentsEntetes where gckey like '11091 @ 1 ' -> Returns one row select * from DocumentsEntetes where gckey like '1109 ...Show All

  • Visual Studio Express Editions binding source

    to  get a binding source . form the toolbox i get a binding source box; then in the properties box i chooce datacontrol, this then conects to a wizzard to ask if i want a database, i say yes. then im asked  about my connection so i select my mdf file. then i get another wizzard which gives me the tables i have, which i tick then im finished. why then does it not puit the data control in the properties box where it should.     ...Show All

  • Visual Studio Express Editions Counting pixels in a region

    Yet another question.... I have a region that's made up of several shapes; some connected, some not. Is there an easy way to determine how many pixels that region is occupying I was hoping I'd find a solution in one of its methods but that doesn't seem to be the case. All of the shape information is stored in the region, you'd think it would be easy to count all the pixels in a given region. I will need to count/recount the number of pixels often so I'm hoping there is an easy/non-expensive (CPU/time wise) method for this. Because the region will contain non-connected shapes, and because the region is a solid color, would it be best to convert it to a 1-byte bitmap, then count that way Looking for any advice ...Show All

  • SQL Server Custom Task: How to access/modify the variables of a package

    Hi, I'm trying to simplify the deployment process of my project. I already had some troubles with the config files but lets say I solved that issue. I'm going to read a flat file and set the variables of my packages from this file. I was thinking to use a Script Task to do that but I will need to copy this task in every package (I have at least 30). So if I want to make some change this will be painful. Then, I came up with the idea of creating a Custom Task called Config File Task. I'm working on this but I got stuck trying to get the variables from the package that is running my Config File Task. This is the code I had in the Script Task: Dim streamReader As New StreamReader(Dts.Variables("ConfigFilePath").Value.ToString) ...Show All

  • Visual Studio Team System Team Build result not showing in the Builds Report

    Hi, I created a team build and used Approach #2 in http://blogs.msdn.com/nagarajp/archive/2005/10/26/485368.aspx to build VS.NET 2003 solution file. However, after the build succeeded and warehouse refreshed, I am not able to see this result in the Builds Report. Is there some target missing in this approach The only difference I see here is that SolutionToBuild item is not defined. So the CoreCompile target is skipped. Does it affect the reporting Thanks, -hengyi Federico, Yes, the warehouse is updated and this is the only build I don't see. To reproduce this: Create a new Team Build to build a test solution. Start the build. Modify the proj file and comment out SolutionToBui ...Show All

  • Windows Forms Menu Shortcut keys doesnt work When invoked from VB6.0 Forms

    Hi, I have a .NET C# Winforms that will be invoked from a VB 6.0 client. The problem i face is when the .NET Winform is displayed the Menu shortcuts in Winforms is not working. The code i use in VB6.0 to display the windows form is Private Sub Form_Load() Dim comp As MyComponent.MainApp Set comp = CreateObject("MyComponent.MainApp") Me.Hide comp.Show End Sub Where MyComponent.MainApp will be winforms class i will register this using Regasm and invoke it from VB 6.0. I have to display this form using Show alone and not as a ShowDialog() [ While using showdialog the shortcut keys works perfectly ]. Since i need to make the VB form too show and hide [ As VB is modelless i cant use show from .NET form to make visible the mo ...Show All

  • Visual Studio Team System Help - Problems precompiling ASP.NET 2.0 website

    I am trying to precompile a fairly simple ASP.NET 2.0 website to improve performance. I got all the website files on the target webserver and it runs fine when accessed by a browser (although pages load slow, which is why I want to precompile). I logged into the host server with Admin rights and ran the following from a DOS command line: C:\windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler -v -p d:\wwwroot\MyApp This gives the following error: error ASPRUNTIME: '/-p' is not a valid IIS application. It appears to not recognize the -p arguement. Taking off the -v arguement results in a 'Either -m or -v must be specified' error. If I try using the virtual path only: C:\....\aspnet_compiler -v /MyApp Then it appears t ...Show All

  • Visual Studio Sandcastle and ASP.NET

    When trying to compile help for ASP.NET 2.0 pages (.aspx), the documentation is built for the code behind and the designer files. Since the designer files contain all of the information for each control in the form and is autogenerated, there is no need for this portion of the partial class to be documented in the help system, but the code behind properties and methods need to be fully commented. Is there a way to only have the code behind portion of the partial classes be included I cannot add any exclude tags or anything to the designer file since it is autogenerated and all is lost when it regenerates itself. This would be very helpful for controls (.ascx) files. This is an excellent scenario. I have ...Show All

©2008 Software Development Network