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

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

Herthoren

Member List

Snixtor
Arild Fines
sarran
weaver_84
Xavier R. Javier
Yinon
Gothmordrin
Muzaffer Caglayan
DomsRoberts
codemare
Argh
Siggy2006
Keldj
Testking
sweeper
hmad
Robert McGinley
Ben Ark
KFowler
T.R. Roadkill
Only Title

Herthoren's Q&A profile

  • SQL Server insert counter

    when a new record is inserted in to table, i want to increment the variable called counter by 1 how can i implement this what is the IDENTITY field in a table is it something like a counter variable pls let me know An identity column can increase by 1 everytime you add a new record. That means you can use it as a counter. But when you delete some records in this table then it doesnt effect this counter. I dont know what your perpose is . But identity fields are commonly used for primary keys. I think that is what you wanted to know. If not please explain what you are going to use it for. ...Show All

  • Visual Studio Team System Import Database Schema Keys not imported as expected

    Greetings, When I use Import Database Schema on an SQLServer 2000 database project (from an SQL Server 2000 database server) none of the keys, constraints or indexes are imported against the tables. They all appear to be there but are created as objects at the same level as the tables (i.e. under the Tables folder in the tree view) instead of in the appropriately named folders under each table. Everything looks good in Query Analyzer and even if I target SQL Server 2005 the import is the same. All these objects have a red exclamation mark but no errors appear in the error list. Also all my stored procedures and user functions ha ...Show All

  • .NET Development .NET remoting with dual lans

    I have 2 computers on 2 separate LANs. Computer A is at 192.1.0.1 on LAN A and 192.1.1.1 on LAN B. Computer B is at 192.1.0.2 on LAN A and 192.1.1.2 on LAN B. I am using a TCPChannel (actually TCPServerChannel/TCPClientChannel) for the connection. Computer A runs a windows service which provides an activation point for a CAO. Computer B will run a client application which activates the CAO. When I run the client application on computer B I can specify the server I want to connect to by IP address thereby being specific about which LAN I want the .NET remoting traffic to use. This is passed to the Activator.CreateInstance method usin ...Show All

  • Visual Studio Visual studio insall bug

    When I try to open help, as well as look in to the properties of a project, it appears that components of Visual Studio did not install properly.  I had Studio Beta 1 installed, this may be related to the problem, though it has been uninstalled. This is the message I get: Message box title: Package Load Failure Message text: Package 'Visual Studio Common IDE Package' has failed to load properly (GUID = {6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C} ).  Please contact pakage vendor for assistance. ... Here are a few of the errors I spotted in what I belive is the install log: 8.671: Num Ticks for invent : 312 8.765: [dumpDownloadTask] Updat ...Show All

  • Windows Forms Z-order and losing focus on MdiChildren

    I'm writing a little index cards application. I have a toolbar which has forward and back buttons, for iterating through the collection of cards. When I click the forward button, I move the active MdiChild to the back of the z-order with a SendToBack. However, after that the topmost MdiChild doesn't gain focus and I have to click on it first before being able to proceed forward again. Is there a way to give the top-most MdiChild in the z-order focus programmatically I've tried MouseEventArgs and OnMouseClick to no effect. There are a couple of ways to do this- One is to send CTRL-Tab to the active child window using SendKeys: SendKey ...Show All

  • SQL Server SSIS Send Mail task problem

    Hi, I have got the problem connected with Send Mail Task in SSIS. The general idea was: sending email alert to different email users. I tried to use Foreach Loop task which loops through dataset (where the emails are stored) and assign different email addresses to SSIS package variable. When I try to use this task inside Foreach Loop task I receive this error message: "Error: 0xC002F304 at Send Mail Task, Send Mail Task: An error occurred with the following error message: "The parameter 'address' cannot be an empty string." The SSIS package has variable (string) which is binded with ToLine - property of Send Mail task ...Show All

  • Windows Forms newbie question: capturing right click events in vb.net

    Can someone tell me how to capture right click events   I'm trying to show a context menu when the user right clicks on a listview.  i see that there's a mouseeventargs that has a buttons property, but i cannot ctype the eventargs for the click event handler to mouseeventargs i'd also be interested in capturing right clicks anywhere on my form tha ...Show All

  • Visual Studio 2008 (Pre-release) Why text editor classes is so closed in Avalon?

    For example, i need insert (by code) a link into RichTextBox. This mean that i need split Run before insertion. Type type = typeof (Control).Assembly.GetType("System.Windows.Documents.TextRangeEdit"); MethodInfo m = type.GetMethod("SplitFormattingElements", BindingFlags.Static | BindingFlags.NonPublic); TextPointer position = m.Invoke( null , new object [] { editor.CaretPosition, true }) as TextPointer; position.InsertTextElement(hyperlink);   Or i need select (by code) text in RichTextBox from 5 to 11 symbol and do something. (TextBox uses internal TextPointer ctor - Reflection again ) It's too complex for simple oparations. ...Show All

  • Windows Live Developer Forums Submit your MSN Messenger Activity API Feature Requests!

    First of all, thank you for downloading the MSN Messenger Activity API!  In the MSN Messenger Product Group we are constantly looking at ways to increase customer satisfaction within our products.  In this case, it's YOU, the developers that we aim to please.  Now that you've seen the SDK and hopefully have submitted an application to the contest, please post your feature requests for the next version of the API. Thanks! Carmen Zlateff Lead Program Manager MSN Messenger well for the above my guess is that you need the PassportSiteID being set to true. The rules dont mention this flag and I already asked in this ...Show All

  • Visual Basic COM visible?

    I am trying make classes in a VB.NET app available to other programs. I set Project Properties, Make assembly COM-Visible checked. The classes are have COM Class and COM Visible both set to true; but, no other programs are able to find it. What am I doing wrong once you have made your class and project COM visible, compile it into a dll...then you should be able to make a reference to the project....Note that this is not necessary if you are working in a .Net project and referenceing a .Net project(no COM visibility needed) ...Show All

  • Visual Studio Babel merge modules

    Have anyone tried to use babel merge module to install this package I am experiencing some problems. I receive this error: Package 'Babel Language Package' has failed to load properly Yes, this is a problem with the latest VS SDK. We expect to have this issue fixed with the Oct CTP, due at the end of the month. ...Show All

  • Visual Studio Team System why the daily build failed?

    in the team explorer, I rightclick the teambuild to new create a team build type as "dailybuild", then I rightclick the new build type "dailybuild", then click "produce the team project", a dialog appeared, I click the "produce" button, the build programme is running, After the running is ended, I can see some build results in the build drop location. this is a success. but I add a new windows schduled task , select the "E:\Program Files\Microsoft Visual Studio 8\Common7\IDE\TFSBuild.exe" as the programme to run in the schduled time. but after ...Show All

  • Visual J# Problem with C++/CLI and J# interaction bug

    I'm having a problem with C++/CLI and J#. I am writing a class library in C++/CLI and want to use it from J#. I narrowed down my code and wrote a repro: a.cpp: #using <mscorlib.dll> #include <stdio.h> using namespace System; namespace AA { public ref class A { public : unsigned long Print() { printf( "Hello\n" ); return 0; } }; } b.jsl: import System.*; import AA.*; public class Test { public static void main( String [] args) { A a = new A(); a.Print(); } } To compile do: cl /clr /O2 /MD /c a.cpp link /dll /out:a.dll a.obj mt -outputresource:a.dll;#2 -manifest a.dll.manifest vjc /out:b.exe b.jsl /reference:a.dl ...Show All

  • Visual C# RPAD function Not working

    Hi, RPAD function that works correctly in when executed in SQL PLus is not working in ASP.NET. Actually this is my select statement. select elem_number,element_name,element_type,(trim(elem_number||'-'||element_name)||lpad('~',50,' ')||element_type) element from hrcten0vy order by elem_number Here iam padding 50 spaces before the ~ symbol. This query is working fine when executed in backend. But when i populate the field element in a Dropdownlist Box, spaces are not padded and the ~ symbol is just concatnated with the field. Please provide me a solution. Code sample string strsql = "select elem_number,element_name, ...Show All

  • Windows Forms 121 PictureBoxes slow my app. Help me optimize?

    I'm developing a program that uses 121 pictureboxes on one form and when I run the program, it is rather slow.  I haven't even coded yet!  If I try to move the window, the contents get especially choppy.  It's even worse if I'm moving the app and it hits the edge of the screen.  Plus, my pictureboxes all need to have transparent backgrounds.  That slows my app even more. I know that the alternative is having one big picturebox and using the Paint event.  I've tried that back in Visual Basic 2003 and it was a total nightmare. Can anyone help me optimize my app so that all the pictureboxes don't slow it ...Show All

©2008 Software Development Network