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

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

Foolios

Member List

BG22
Jim25_SQL
Pramode
Carol_AA
Pink
Tony P
bjohnso2
Robert-H
Conrad Rowlands
Scott Steigerwald
Trangen16a
ihab
Patty Andrade
Andrej Benedik
Phil-Smith.tk
Asghar Panahy
gpetrosh
kaoruchan19
JOHNLOGIC
csqlrun
Only Title

Foolios's Q&A profile

  • Visual C++ Problems While Wrapping Unmanaged DLL to Managed DLL

    Hi i m having a few problems while writing a wrapper to a unmanaged dll . I have an unmanaged class that si devired from unmanaged dll interface so i cant declare it as a gc class. While writing definitions i want to use .net framework classes say System::Threading::Thread . My problem is i cant pass a non gc class into threadstart method. Whats the possible solution . Is there any way to convert a non gc class to a gc class so that i can use it with Framework classes . Please have a look at what i m really facing in the code below. . Test.h File: class UnamangedClass : public UnmanagedDLLInterface { public: ...Show All

  • SQL Server Failure to insert multiple rows into SQL database

    I have an app that imports data from a csv file into a dataset. The user views the dataset and then decides to import the data into the database by clicking the code below. I am getting the error message below when the app gets to the line 'objCommand.ExecuteNonQuery()' "Message="The variable name '@PartNumber' has already been declared. Variable names must be unique within a query batch or stored procedure. Incorrect syntax near ' '." My questions are: 1) Why is the code failing at this point ( i have hard coded the part number and part name to test my code) 2) How do i pass the actual value of PartNumber and P ...Show All

  • SQL Server Display Boolean parameter LABELS

    I tried to put a boolean parameter on my report with values (True, False) and Labels (Yes, No). On Visual Studio it displays the labels, but when exported on the Report Server it diplays the values (True, False). Is there a way to tell Reporting Services 2000 to display the labels of boolean parameters instead of the values Try Parameters!ParameterName.Label instead of Parameters!ParameterName.Value ...Show All

  • Visual Studio 2008 (Pre-release) Richtextbox new line problem!

    Hello, when I'm using a RichTextbox and I apply a "sestem.environnement.newline(), then not a new line is taken, but two new lines. Can you disable this tnx in advance Its not clear how you are applying "system.Environment.NewLine" in RichTextBox. If its in code, can you send the repro code for your scenario ...Show All

  • Visual Studio 2008 (Pre-release) Docking and Anchoring

    Hello, what's the replacement of the Docking Wpf I have a Panel, which has a child - was trying to apply Horizontal/Vertical Alignment - doesn't take any effect. Also - when I set Margin. Left to -10 - it doesn't hide actual child - just moves ti to the top, thus making my control taller by 10. Is there any way to implement a real container-like behaviour in that case Thanks Take a look at the DockPanel element in the Panels overview on MSDN. Note: generally to combine Docking with absolute positioning, you'd use something like this: <DockPanel> <Canvas DockPanel.Dock=& ...Show All

  • Windows Forms Transaction/connection control at the business layer?

    Suppose I have 3 strong-typed entity objects (biz), each with their own corresponding data-layer objects. In those situations where I am to achieve a transactional result where all 3 must write to the database, how can I avoid violating layering-architecture principles by not having a biz controller object issue the same SqlConnection/SqlTransaction (or IDb interfaces) object& ...Show All

  • Software Development for Windows Vista The type 'ActivityBindExtension' could not be resolved

    Hello, I am running a XOML workflow which contains an activity binding as following: < xml version="1.0" encoding="utf-8" > <ns0:SequentialWorkflowComponentBase x:Name="SecurityWorkflow" Version="1.0.0.0" xmlns:ns1="clr-namespace:MyComponents;Assembly=MyControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" xmlns:ns2="clr-namespace:MyComponents;Assembly=MyControls1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:MyWorkflow;Assembly=MyWf, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"> <ns1:MyComponent1 x:Name="myComp1 ...Show All

  • SQL Server Migrating form access to SQL

    I am facing problems in migrating my application from Access to SQL. Few of the fuctions like CBDATE (userdefined functions) are not working. Please let me know how to overcome this problem. Thanks Hi Manas. I am unaware of a function within Access called CBDATE...is it something you designed and coded (in VBA possibly) There are a many things you can do in SQL to get the same functionality, but could you post an example code snipet for what that function does ...Show All

  • Visual Studio Team System Just IDE Client Requirements for VS2005 Professional in VSTS??? What about lone wolf programmers??

    Because I can't afford an MSDN subscription, I purchased the VS 2005 Team System Beta 2 which I just installed. So I'm installed and I start up the client IDE (I only installed the client stuff) only to find that I can't seem to create a project without being connected to a team server. The requirements for team server are very steep - I mean, I do some light work on the side, I can't afford Server 2003, SQL 2005 etc. to develop applications with. I take it that the new version of Visual Studio is centered around teams only Or am I missing something If I don't work in a team am I relegated to VS 2003 Yo ...Show All

  • Visual Basic Problem installing VB6

    Just for the record, i've tried this Off the CD normally, i've created an ISO and mounted it, i've even copied the entire CD to the HD and tried installing it from there. Same problem every time. The problem is that when i run setup.exe to install the program, it crashes "setup.exe has encountered a problem and needs to close". Doesn't matter if i run the file myself, it's it's though the CD or mounted ISO's autorun, it's always the same. As soon as the setup.exe launches, it crashes. I've never had a problem with any other version of VB. I took a guess that the installer might run on the .net framework 2.0, so i download ...Show All

  • Visual Studio Team System Coded Webtest - capturing failure, taking action

    I have a coded Webtest that basically traverses my entire Content Management hierarchy, just looking for simple things like not going to error pages [thanks for the ValidateResponseUrl JoshC] and making sure all images load. When I view the results in the testing window when I run the test, I can see (1) if it failed my few validation rules, and (2) if any images are broken within the page. I think I'm missing something simple, because all I'd like to do, is when the current iteration of the WebTestRequest runs, I want to be able to see if it failed or not. If it fails, I want to do some action such as logging which images broke, just ...Show All

  • Windows Forms vb .net: Listbox item bolding

    The problem is to bold the item in listbox where "read = 0", which is gotten from the database. Private Sub hae_viestit()         mydata.Clear()          Dim conn As New MySqlConnection(Form1.yhteys)          Dim myCommand As New MySqlCommand          Dim myAdapter As New MySqlDataAdapter         myCommand.Connection = conn         myCommand.CommandText = " SELECT message_id, ...Show All

  • Visual Studio Team System Which version for Business Analysts and Project Managers?

    I'm leading an effort at my company to review VSTS to determine if it is a right fit. We are using the Beta 3 evaluation and so far it is a great product. The thing I can not figure out is which version do people in the role of Business Analysts and Project Managers use Their main usage would be to interact with reports and work items. Any suggestions The best fit for them is probably to use no version of VSTS. Rather, they would typically use Office 2003 (Excel and Project) and the Team Client - which is nothing more than Visual Studio with all the compilers and project types removed. Individual team c ...Show All

  • SQL Server Table control causes pdf Format skipping pages

    Whenever I use a table control a in report in SQL Server Reporting Services. When I save that report to a PDF format, every other page is  blank in a multipage report. Every other page is skipped. Has anyone else run into this problem Hi, I have also this same problem.If multirow table can fit into a single page,It skips a page and renders into the next page.This happens only when we export to PDF. any help would be greatly appreciated . Thanks. ...Show All

  • Visual Basic Excel automation with VB.NET

    Hello, I have done some Excel-to-VB.NET automation, so I am familiar with the basics.  I have gotten stuck on doing Subtotals. The VBA macro looks like this:: .Selection.Subtotal(GroupBy:=2, Function :=xlSum, TotalList:=Array(5), Replace:= False , PageBreaks:= False , SummaryBelowData:= True ) I cannot figure out how to reference the  "Array(5)" object in VB.NET.  Any ideas Thanks for any suggestions. Mister T   (Using VB 2005 Express Edition) I'm having the same trouble. Also, I can't get the "sawtooth" out from under the Selection.Subtotal. I'd appreciate & ...Show All

©2008 Software Development Network