Software Development Network Logo
  • Windows Vista
  • SQL Server
  • Visual Basic
  • Smart Device
  • Visual C#
  • Visual Studio
  • Visual J#
  • VS Express Editions
  • Architecture
  • Windows Live
  • Windows Forms
  • Visual C++
  • VS Team System
  • Visual FoxPro
  • Game Technologies

Software Development Network >> Andrzej Stencel's Q&A profile

Andrzej Stencel

Member List

LEPScapa
JustJFe
brad oyler
Lelle
MoinKhan
JuKu
Senthil Murugan
Aaron Tan
Philippe Cand
ReneeC
Stovesy
Agile Knaskefant
Lisa Ambler MSFT
rich2000
talitore
liquid.ice
CB40
neverhome
Paul Programmer
FrankMucerary
Only Title

Andrzej Stencel's Q&A profile

  • Visual C++ Global Error Handling in VC++6.0

    Hi All, Is there any way i can avoid try catch block in my every function to catch the errors.. Somthing like if any error occurred in these class go to some function I know these must not be easy as its in .net but was just wondering can it be done Thanks. ...Show All

  • Visual Studio Team System Source Control API

    We have been using SourceSafe as our source control package and had written a small program to script out SQL Server 2000 database objects and check them in to VSS. This utility is one of the first steps in our nightly automated build process. Now I want to modify this small program to do the same thing with Team Foundation System Source Control (TFSSC). Using Buck's blog entries (thank you Buck!!), I've managed to add new files to TFSSC. However, I have a couple of questions: 1. The VSS API had a function (returning a bool) for detecting if two files were not the same. I did some digging around in the API doc, but did not see any ...Show All

  • SQL Server how to get the sum of a group and not the whole column?

    example: Account Sales New John Doe 1,000,000 George Bush 2,000,000 Juan Luna 3,000,000 6,000,000 Old Michael Tell 5,000,000 Billy Banks 2,000,000 7,000,000 where Account and Sales are table columns, New and Old are group names. i want to display the total of the group. ...Show All

  • Windows Forms Numeric Up Down Question

    Is there a way to access the buttons of a numeric up down control Programatically accessing the buttons or setting focus to the buttons is not something that we provide. The buttons are only there to allow the user to press them with a mouse. Can you describe what you are trying to do -mark Program Manager Microsoft This post is provided "as-is" ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ do not puts [] in "INSERT INTO" statement fields

    Hello all! In DLINQ operation to add a new persisted object in a database, it do not put de [] qualifiers. If the column has a blank space occurs a error. Generated statement example: "INSERT INTO TableName (My Field1, My Field2) VALUES (@p0, @p1)" Thanks, and scuse my english! Vitor Nice workaround. I am not sure if this is the proper way to go. It would be better if DLinq does this automatically otherwise code is unnecessary cluttered (not that much though) and developer has to know which fields needs brackets. ...Show All

  • Visual Studio 2008 (Pre-release) visualbrush and 3d

    I am trying to set the material brush to a visual brush cant seem to figure out,why I dont see anything < Window.Resources > < VisualBrush x:Key = " qaz " Viewbox = " 0,0,100,100 " Viewport = " 0 0 1 1 " TileMode = " None " ViewportUnits = " RelativeToBoundingBox " ViewboxUnits = " Absolute " > < VisualBrush.Visual > < TabControl Height = " 100 " Width = " 100 " Opacity = " 1 " > < TabItem > test </ TabItem > </ TabControl > </ VisualBrush.Visual > </ VisualBrush > < MeshGeometry3D x:Key = " mesh " TriangleIndices = " 0 1 2 1 3 2 " Normals = " 0,0 ...Show All

  • Visual Studio 2008 (Pre-release) Using VB Linq in web applications

    How can I use VB linq in a web application I saw a thread with a hack telling to change a csproj file (in c#), but I created a new website and there is no vbproj file for the application. Is there some way to make visual studio use the prototype compiler for VB 9.0 in web applications Are you using the default web site project (app_code, etc), or are you using the 1.x-style Web Application project template that Fabrice provides links to in that thread ...Show All

  • Windows Forms System.Security.Permissions exception when loading a DLL from a network

    hello, I am making a DLL reference to a dll residing over a network. Everytime I do that, it gives me a system.security.permissions exception. Is there any work around. I do know that we can go to the VS.NET wizards and set the assembly to trusted, but I dont know how I will be able to convert this dll reference into an assembly. Is there&nbs ...Show All

  • Visual Studio 2008 (Pre-release) XSD for system.serviceModel configuration

    Is there an XSD available for the system.serviceModel configuration Juval from Idesign updated XSD, it works in most of the cases, so you can use this xsd file for now. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=284646&SiteID=1 How to: (1)Download xsd file from here http://www.idesign.net/idesign/temp/dotNetConfig.zip (2)rename current dotnet config file (3) copy the downloaded file(.XSD file) to C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas -Thank you Madhu ...Show All

  • .NET Development Urgent: Loading User Control dynamically without refering in the current project

    hi all, I have developed a user control ... now i want use it in another project filters (user controls) should dynamically displayed in visual basic 6.0 we are using VbControlExtender ... plz give reply if anyone know it require urgently........ Thanks pavankumar I'm not really sure what you are asking, I'm sorry, your english doesn't make a lot of sense. If you're asking how to create controls dynamically in a project, you will use Activator.CreateInstance. For example (in C#): // Create the control Control cl = (Control)Activator.CreateInstance(System.Type.GetType("MyControlLib.&quo ...Show All

  • Windows Forms Do I hear C# anytime soon???

    I was wondering if there will be a C# sample of TaskVision anytime soon I agree with mongo ks. A simple yes or no.  If you do not want to use vb there is not reason to waste time doing a conversion. ...Show All

  • Visual Studio Compartiment with multiple classes to be added

    Is there a way to add two or more attributes from diferent classes in the same compartment   Thanks Hi Luiz, I'm afraid that's not possible in the DSL Tools at present. Would it be possible to give a little more detail on your domain model and scenario so we can evaluate it for our candidate feature set thanks, Gareth ...Show All

  • Visual Basic How To Call Diffrent Controls

    I Have Too Many PictureBoxs In My Form I Need To Call Them All In Loop Like Dim x, b as integer For x = 1 to 100 b = Rnd() * 100 PictureBox(x).Image = ImageList1.Images.Item(b) Next The Proplem Is PictureBox(x) i need to call PictureBox1 , PictureBox2 ..... etc You can't do this, you can't generate variable names like this without reflection. Your second best bet is to create an array of picture boxes and use that. Your best bet, IMO, is to create an array of structs that contain an image and a Rectangle, and use this to draw your images in your on paint handler. IMO ...Show All

  • Visual C# Positioning control on a form

    Hello. Your help is very much appreciated. I write Win app using .NET 1.0. I have a form which only has datagrid on it. I want that the datagarid will fill all the space on the form. The dg is always stuck at the top left hand corner. I used the docking property - but it didn't change a thing. this .dg.Dock = DockStyle.Fill; Any suggestions THanks a lot Roy Hi Arjuna! Dock property is right answer when you need to fill whole form. Anchor can be used, but it's intended for other layout purposes. ...Show All

  • Windows Forms user32.dll Threads Issue from Upgrading from Vb6 to vb.net

    Hi I have a module that handles threading with user32.dll Api. The problem comes when each window calls this pSetForegroundWindow subrrutine to set the Foreground thread. The windows is displayed active but is not refreshed or painted, stays unresponsive. Why is that Can someone help Would I have to declare a system.threading instance to substitute this module functionality And not use user32.dll in vb.net How can I do that I have an idea how threading works but this is the first time working with it See Code Below ************************************* module******************************************** Option Strict Off Option ...Show All

©2008 Software Development Network