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

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

vsnewbie

Member List

Wiltek Ghozali
sameerTripathi
ikeeickholdt
flobadob1975
PK14
Morbo
Christopher Mac
markco
Lance Olson - MSFT
Carlo Iaboni
ibisxin
pato135
Hamish Gunn
MarkJohnson
kerm007
ASP-SQL Newbie
JaseT
Scooter!
Peggi Goodwin
Revoldo
Only Title

vsnewbie's Q&A profile

  • SQL Server Issue Loading Data from Flat File

    I have come across a strange bug that I can't get to the bottom of. I have a source Excel spreadsheet with approx 30000 rows in it, I have saved this out using Excel 2003 as a csv file which contains all of the source rows. Using a Flat File Source I am only getting approx 15000 rows through, I have re-saved the spreadsheet as csv and it stops at exactly the same point.  However, if I use the excel spreadsheet as the source I get all 30000 rows. I have checked the CSV at the relevant point and can see no reason why it would stop at that particular point. I am experiencing a similar problem with another source file handled in e ...Show All

  • Software Development for Windows Vista Can't uninstall Avalon CTP v6.0.4093.41006

    Hi, Have tried to uninstall Can't uninstall Avalon CTP v6.0.4093.41006 from "Add Remove Programs" and via vs_uninst_winfx.exe as well as downloading the script on the laters download page but get the error "You must install v2.0.40607" of the Common Language Runtime before installing Microsoft "Avalon" CTP Anybody got ideas for how I can unistall. Is version v2.0.40607 available so I can install and it then unistall the Avalon CTP. Perhaps vs_uninst_winfx.exe could be upgraded to handle this. Thanks in advance ...Show All

  • Visual C++ error C2143: syntax error : missing ';' before 'PCH creation point'

    I am attempting to port a simple c++ project to MS Visual Studio 6. All my C++ programs give me the error error C2143: syntax error : missing ';' before 'PCH creation point' These programs all compile fine in Borland C++. How can I fix this. john_j wrote: I am attempting to port a simple c++ project to MS Visual Studio 6. All my C++ programs give me the error error C2143: syntax error : missing ';' before 'PCH creation point' These programs all compile fine in Borland C++. How can I fix this. Code that compiles in Borland is not guaranteed to compile in Visual C++ (the revers ...Show All

  • Windows Forms Highlight Listview item programmatically

    In a part of my code I am trying to both select and highlight a listview item programmatically when it matches certain text in the code that loads the listview items. Code sample: <CODE> Private Sub FillDataList() Dim dr As DataRow Dim lvi As ListViewItem Dim lviSelected As ListViewItem Dim blnSelected As Boolean = False Dim strUsrName As String = "" listView.Items.Clear() 'LINE BELOW GETS TABLE FROM DATABASE dt = DAL.GetRecords For Each dr In dt.Rows lvi = listView.Items.Add(dr("UserName")) lvi.SubItems.Add(common.sanitizeString(dr("SubItm1"))) ...Show All

  • .NET Development Datasets aren't finalized after leaving the scope

    Hi, we discovered a strange behaviour concerning garbage collection of datasets. Because our application needs a tremendous amount of memory and constantly allocates more and more of it we are counting the instances of our objects in memory. Thus we able to determinate if an object is finalized by the garbage collection. Basically most of our objects contain these code snippets in the "new" and "finalize" methods: Public Sub New ()     MyBase . New ()    TestClass.SharedCounter += 1       'Shared variable of integer End Sub Protected Overrides Sub Fina ...Show All

  • SQL Server Trouble with Iif!

    Hi! My report has a multi-value parameter used to select the elements to put in the "group by" clause of the query. The report must show only the columns selected in this parameter. As I haven't found any better way to do it (I tried to use an expression to hide/show the column, but this would let the report with a "gap" when the columns selected were the first and the third, for example), I created four tables (one for each possible size of the multi-value parameter), and I'm showing/hiding them based on the size of the parameter. I didn't have any problems to choose the rigth parameter value to show in a column tit ...Show All

  • Visual Studio Express Editions Error Message

    Hello, Whenever I try to build an application and compile and run it, I always get the same error message. "The application failed to initialize correctly. (0xc0000005)" This also occurs on other Visual Studio 2005 Express Editions. I re-installed windows and that did not fix the problem. Does anyone have any ideas that could help Thank you. Been are you telling us that you can take an empty windows form and run it and it terminate with an error no matter what ...Show All

  • Visual Studio How do I add an entry to the Menu in the Solution Explorer??

    How do I add an entry to the "Integration Srevices Project" Menu in the Solution Explorer   When working with Sql Server 2005, I opened a new "Integration Services" project of type "Business Intelligence" project. When I right click on the project name in the Solution Explorer, I get a menu with (Build, ReBuild, Clean... ).   How can I add a new entry to this menu I created a wizard as described in http://msdn2.microsoft.com/en-us/library/7k3w6w59(VS.80).aspx  but I can't find where to locate the vsz file.   Note: In the document above, it's mentioned that in order to run the wizard, I need to go th ...Show All

  • Visual C# Alternative to Global Variable

    I am working on a database application that will operate in two modes. "Server" mode when it is connected to the network, and "Local" mode when it is not. I already have a function that determines if the PC is connected, but I am unsure of where to store the results of this function. My instinct is to store it in a global variable (field)... however from what I read on C#, the use of global variables is not recommended because it breaks encapsulation. So what is the best practice of storing the result where I can access it throughout the application Thanks in advance. You can use t ...Show All

  • .NET Development C3767 error with regex

    Hi all, I'm very new to windows development (only have taken classes with c++ in linux) anyways, I keep getting this error and would like to know why.   myapp\MainWindow.h(263) : error C3767: 'System::Text::RegularExpressions::Regex::Regex': candidate function(s) not accessible   Here is my code:  #pragma once namespace MyApp { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; using namespace System::IO; using namespace System::Text::Regul ...Show All

  • Visual Studio Express Editions Q: What is the modules

    hi, i'm new and i want to know what is hte differece between classes and modules , and when to use modules, thx Hi shak, The purpose of a module is to contain subroutines or Functions and to declare Variables or Arrays with the Public Command.  Modules have no visible properties and have no events because they have no controls.  Subs within the module are made available to your entire program (global) as opposed to local to a partuclar form or even more local to a particular procedure. The 'Visual Baic 2005 Express Edition for Dummies by Richard Mansfield is a great book for beginners.  It had most of th ...Show All

  • Visual Studio How do I get a new ModelElement's corresponding Shape?

    Hi, [Background] I'm working on a DSL called XmlBusinessObjects that functions similar to the strongly typed DataSet designer (i.e. it displays tables with fields and relationships between them) and generates code for a very specialized data access layer. I also want the DSL to be able to work with the Server Explorer so new tables can just be dropped onto the diagram, like with the DataSet designer. From exploring the modeling assemblies provided with the DSL tools, I've found that the "design surface" is the DiagramClientView control. Although you appear to have additional Drag/Drop support built on top of the diagramming archit ...Show All

  • Smart Device Development Smartphone Menu.Clear Not Supported

    I have a Smartphone 2003 program.  I am trying to change menu items dynamically.  When I execute the menuitem.clear command, I get an Not Supported error.  If I trap the error, the command works, but then I can not capture the click event on that menu item anymore. Try 'This errors, but it works. Now, I can't get the click event to execute any code       Me .MenuItem2.MenuItems.Clear() Catch ex As Exception End Try Does anyone have any suggestions Thanks I was playing around with this code and even Remove Gives the same issue. The best worka ...Show All

  • Visual Studio C#, VS 2005, Crystal Reports XI, Business Objects Enterprise/Crystal Reports Server XI.

    Hi, I must be missing something with my versions, etc, but for the life of me I can't work this out. I have my report which happened to be written in Crystal Reports (or the Visual Studio version, it doesn't seem to matter) that I have loaded in to Crystal Enterprise. I create a web page with a crystalreportviewer in it (version 11.0.3300.0 ) all my references in the project are the same. and then in my codefile I do this as per the documentation: enterpriseSession = sessionMgr.Logon( "Administrator" , "" , "WEBSERVER-01" , "secEnterprise" ); enterpriseService = enterpriseSession.GetService( "InfoStore" ); infoStore = ( InfoStore )ent ...Show All

  • Visual C++ Can and how do I extend an array of objects during run time?

    Hi, I created an array of objects, based on a class I created to hold data only, at the start of my program. During the run time, I may need to add an unknown number of additional objects to new data. Can I do this How can I increase an array of objects during run timge, one at a time as the need arises For exmaple: myClass aryObjects[10]; .............. How do I add to the aryObjects and make it a aryObjects[11] Thanks. Have you thought of using a linked list instead. That is to have the object contain a pointer to the next object that gets created at run time. Thanks, Ayman Shoukry VC++ Team ...Show All

©2008 Software Development Network