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

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

Vista2007new

Member List

MarkWHarrison
noblgh
Xiame
ArcPadNewbie
Abhishek Chadha
Ather.
Jackobolo
Chidu
qrli
robydx
cb3431
Alex974
mfdiqwer
RichLeyshon
Orbix
Maaloul
luca82
Software Engineer
BlakeMc
davemord
Only Title

Vista2007new's Q&A profile

  • Visual C++ Unresolved external using a namespace from a DLL

    Hi, Under Visual Studio 2003, I have a DLL that exports a class, and I am trying to use the class from the DLL in a simple test application. The class in the DLL is defined inside a namespace. The problem is that the test application builds fine in debug mode, but I get a link error in release mode: Maybe the DLLDIR_EX symbol is not defined in Release configuration of DLL project ...Show All

  • Visual Basic Dunno where to put this

    How do you move from one form to another Create a new instance of the form you want to show and then show it. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As New form2 x.show() End Sub End Class ...Show All

  • .NET Development metaclass/class references

    Hi, I'm in the process of learning c#, but i'm getting the hang of it pretty fast. The problem is documentation. I've read up on C# reflection, and i'm already using it, but there are certain things which aren't stated. For instance, my issue is that of class references. How do you do such in C#. Like for instance, delphi: <code> {* class reference declaration *} TDBObjectClass = class of TDBObject; {* Method returns the remotable object for a given class type...the method here is a class funciton *} TDBObject.GetRemotableClass(aClass: TDBObjectClass):TRemotable; begin ..... end; </code> What is most IMPORTANT about my question is the fact that I am not concerned with the Dynamic creation of the class us ...Show All

  • Visual Studio Express Editions Ugh....Driving Me nuts....

    I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All

  • Visual Studio 2008 (Pre-release) Read value of a Binding manually

    Given a Binding object, how can I read the source value I.e, I'm bound to a Customer object as my source, and the path is "CustomerName". Given the Binding object, how do I read the value from the source Why is this so difficult to do use BindingOperations.GetBindingExpression() method to retrieve the BindingExpression instance, then examine the returned BindingExpression object's DataItem property to get the source you've bound to. Sheva ...Show All

  • Visual C# Can anyone convert a code from VB6 to C# and VB.NET?

    Hi guys! i'm flash.tato a young developer. I have a problem to convert this code from VB6 to C# and VB.NET. Can anyone convert this code from VB6 to C# and VB.NET rivate Sub cmdBIN2GIF_Click() Dim sInput  As String Dim iIndex  As Integer Dim lPos    As Long Dim lLen    As Long Dim Fine    As Boolean Dim sDestinazione   As String         On Local Error Resume Next         If cdlBrowse.FileName <> "" Then         Label2.Caption = "Estrazione GIF in corso..."                 Open cdlBrows ...Show All

  • Visual Studio Express Editions Can I have Visual C++ Express together with Visual Studio 2005 Team Edition For SA ?

    As subject ... Wow ! What a great forum ! I thought such a simple question like "is it possible to have VC++2005 Express installed together with a regular VS2005 for Software Architects" would be answerd almost imidiatelly, but no ... no way :) ...Show All

  • Visual Studio Team System "Need to know" model in MSF Essentials book

    I'm sorry, this is not really a MSF related question. I'm reading Michael Turner's MSF Essentials. In Chapter 3, page 22, it says: "....Worse yet, some still perceive information and knowledge sa power and share as little as possible. This "need to know" model of restrictive communications is very counterproductive....." Anyone can tell me what is "need to know" model and why call it "need to know" Thanks!! Here is the best place on earth for MSF http://msdn.microsoft.com/vstudio/teamsystem/msf/ ...Show All

  • Visual C++ Useless "Failing" Failure Dialog.

    I'm having an issue with binaries created with Visual Studio 2005. I'm compiling using /CLR:oldsyntax. It seems as though every time I am hitting an unhandled exception (I don't think it matters if it's in managed code or not) and there is no debugging environment available (ie: on a machine without visual studio installed, or running with the Debug menu item "Start without Debugging" I get an absolutely useless dialog, with the caption "Failing" and the only text in it is "Failure." and an "OK" button on it. Obviously this doesn't help the whole debugging process whatsoever. What has happened VS 2003 builds always showed more information! Does anybody else get this Am I doing something wro ...Show All

  • Windows Forms Suddenly I'm getting this error: The form referred to itself during construction from a default instance

    Hi, I'm getting the error below when I try to run my project. It's never happened before, and I don't understand what's caused it. Can anyone help please Thanks, Louise System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: The form referred to itself during construction from a default instance, which led to infinite recursion. Within the Form's constructor refer to the form using 'Me.'" Source="FrontierIS" StackTrace: at FrontierIS.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190 at FrontierIS.My.MyProject.MyForms.get_frmData() at FrontierIS. ...Show All

  • Windows Forms Creating my own TabPage class

    I have a tabcontrol on a form. If I add tab pages and add controls to them in Visual Studio the controls become members of the main form and the main form will also handle all events from all controls on all tab pages. I want to create my own TabPage class that handles everything that happens in the TabPage to avoid having all code in the main form. I created MyTabPage class by adding a new Component to the project and changing the base class to TabPage. I am able to drag stuff from the Toolbox onto my TabPage in Design mode. In the designer for the main form I added another tab page to the tab control and changed the type from TabPage to MyTabpage in the main form code. However, I am not able to see any controls in the tab when I ...Show All

  • Visual Basic Is there any way to remove block of bytes from middel of binary file?

    Is there any way to remove block of bytes from middel of binary file thanks.. this is the right code to merege many files in one archive file: Sub AppendFile(ByVal SourceFile As String, ByVal DestinationArchive As String) Dim w As Date = Now Dim fi As New IO.FileInfo(SourceFile) Dim fi2 As New IO.FileInfo(DestinationArchive) Dim fs As IO.FileStream = fi.OpenRead Dim fd As IO.FileStream = fi2.OpenWrite Dim startIndex As Long = 0 Dim retval As Long Dim nBytes As Integer = 100 Dim ByteArray(nBytes) As Byte Dim StartPos As Long If fi2.Exists = False Then StartPos = 0 Else StartPos = fi2.Length End If fd.Seek(StartPos, SeekOrigin.Begin) retval = fs.Read(ByteArray, 0, nB ...Show All

  • SQL Server Longarse txt Source files

    I thought i share this lil thought/tip with ya'all: I have .txt import files which have huge amounts of columns (this time about 150 - 200). And i need to import 3 of those files. I do have the definitions for columns - but to fill out 200 column definitions in SSIS editor takes u a while. (And suggest types is quite useless due to 1000 sample row limitation - not to mention that if you identify Boolean fields using Y,N - i throws errors on import - so you are most of the times better off defining your own columns). Fortunately for me - majority of the fields is similar (over 100 fields) - so I can copy and paste the flat file connection and make changes to copied file connection I guess my wish for future version is that flat file manage ...Show All

  • Visual Studio Team System How to delete ChangeSet

    My colleague checked in a set of incorrect source code. I want to remove this ChangeSet. How can i do As Luis correctly says - changesets can not be deleted. The server maintains a history of the changes commited to a file and being able to delete points in the history would invalidate the audit trail on a file. Instead, you can check out the files and then undo the changes by copying in the older versions from the history of the file. An alternative is to use the "tfpt rollback" command. tfpt is the command line power toy which is available here:- http://go.microsoft.com/ linkid=5431080 Hope that helps, Martin. ...Show All

  • Visual C# Build Error MSB3021

    Hello Not sure if this is the right forum but... I have been working on a project for a while now and have been able to build both debug and release compiles. Suddenly, I cannot build any thing! I get the following error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2313,9) : error MSB3021: Unable to copy file "obj\Debug\MyProj1.dll" to "bin\Debug\MyProj1.dll". Could not find file 'obj\Debug\MyProj1.dll'. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2313,9) : error MSB3021: Unable to copy file "obj\Debug\MyProj2.exe" to "bin\Debug\MyProj2.exe". Could not find file 'obj\Debug\MyProj2.exe'. C:\WINDOWS\Microsoft.NET\Framework\v2.0.507 ...Show All

©2008 Software Development Network