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

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

cmwith

Member List

Robotuner
JcSO
xVxObliVioNxVx
New-Bee
SimonS_
Lars-Inge T&#248&#59;nnessen
HoboZero
cis001
PMSAR
Polina159216
Muhsin Zahid Uğur
Meera V
waff
LouisVanAlphen
VBAddict
ASaleem
Simon Clemen
efratian
Paul Monaghan
Paradigm Shift
Only Title

cmwith's Q&A profile

  • Visual Basic Menustrip

    Hi, I was hoping that somebody could tell me how to program a "new" function for a menustrip. I want this to reload my program. Private Sub NewGameToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewGameToolStripMenuItem.Click Dim Monopoly As New Monopoly Monopoly.Show() Me.Close() End Sub That is what i have so far the only problem is that it opens a new program then closes the both of them. How do i distinguish the new form from the old or is there a way around this Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load THIS IS YOUR CODE HERE WHEN THE FORMS LOAD End Sub Private Sub ...Show All

  • Windows Forms Creating Windows Form in run time for client applications

    Hi... I'm developing a desktop application and I need create some Window Form in run time according to database's data. I mean, if a product property include expired date, weight, name and color. Then the form in the client to fill this product kind would be a date control (for a expired date), a scale control (for a product weight), a text control (for a product name) and a color palette control (for a product color). How to build a application like that Thanks for all. Hi, araujo.guntin Do you mean to create a window form to display the information about a certain product You can try in this way, create a form  when designing, add these controls: DateTimePicker( for expired date ), NumericUpDown( for prod ...Show All

  • SQL Server Connecting to Analysis Server 2005

    Does anybody knows if a 2000 analysis services client could connect to a 2005 Analysis Server Thanks If by "client" you mean "client components", i.e. PTS aka OLEDB driver msolap80.dll - then the answer is NO. There was a version of ADOMD.NET which shipped after AS2000 but before AS2005 - it can connect to AS2005. HTH, Mosha ( http://www.mosha.com/msolap ) ...Show All

  • Visual Studio Team System Really force user to add a work item to a change set

    Hi, Is there an easy way to force the user to add a work item when he checks in code At the moment we get the "Policy Failure" with the "Override policy failure and continue check in." Is there any way to suppress that window for only one policy DDressel Thanks Richards. It shows, that SC is not flexible enough to accomplish our needs :-( DDressel ...Show All

  • .NET Development .NET 3.0 installation questions

    some questions please... 1. i currently have VS 2005 and .NET2.0 installed. i want to install .NET 3.0, Orcas, the new windows SDK, etc. afterwards will i still be able to compile and work with .NET 2.0 applications as well as .NET 3.0 (i need to do both.) 2. will .NET 3.0 apps run exactly the same on WinXP as on Vista what i mean is, will my user base be missing out on any core functionality of .NET3.0, WPF, etc because they have WinXP installed and not Vista 3. Is .NET3.0 and Vista fully releases now What about the designer apps, etc. Is any of it still in beta thanks Yes, .NET 3.0 applications should run equally well on Windows XP and Windows Vista, assuming that both systems have the .NET ...Show All

  • Visual C++ InstallPrinterDriverFromPackage not found in winspool.lib

    I can see the routine in the winspool.lib, but when I try to link it will not find it. If I build a 64 bit it finds it and works fine. Why would the 32 bit link not work hello Could you give a minimum sample code with key settings that can repro the link error that says something like unresolved external symbol That will be helpful to narrow the problem. thanks rico ...Show All

  • Visual Studio Team System Is it a good method to realize some functions by using the sourcecode?

    Hi all: now I want to realise some hard functions that can't be realized only by using IL. so I want to know is it a good method to realize these functions by using the source code Now I can get the File path in the intructions of the method like these. Document dc = objmethod.Instructions[1].SourceContext.Document; SourceContext sc = objmethod.Instructions[1].SourceContext; SourceContext sc2 = objmethod.Instructions[objmethod.Instructions.Length - 1].SourceContext; if (dc != null) { // 取 string strPatheName = dc.Name; } So basically you are trying to get the name of the file that contains a certain method and the min and max line numbers of tha ...Show All

  • Commerce Server small bug in catalog and inventory schema manager

    When I click edit property metadata in the commerce server catalog and inventory schema manager the application crash with the following error in the application log: Event Type: Error Event Source: Commerce Server Business UI Event Category: None Event ID: 100 Date: 23-01-2007 Time: 09:48:54 User: N/A Computer: PH Description: System.OutOfMemoryException: Error creating window handle. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.CommerceServer.UI.CatalogSchemaEditor.EditMetaData.SetPropertyLists() at Microsoft.CommerceServer.UI.CatalogSchemaEditor.EditMetaData.EditMetaData_Load(Object sender, EventArgs e) at System.Windows.Forms.UserControl.OnLoad(EventArgs e) at Syst ...Show All

  • Smart Device Development Dime Attachment ID property fails to parse

    Hello I am using VS2005 and Opennetcf liabrarys to consume webservices the problem is only when i create a dimeattachment object and try setting its ID property i get a System.URIexception. There is not example for opennetcf v2.0 using dime attachment this things works fine with VS2003 and OpennetCFv1.0 Following is the code Dim da As New DimeAttachment() da.Id = Guid.NewGuid.ToString() -> Fails Here da.Stream = s da.Type = dimetype da.TypeFormat = TypeFormatEnum.MediaType Following is the error code System.UriFormatException: {"Invalid URI: The format of the URI could not be determined."} InnerException: Nothing Message: "Invalid URI: The format of the URI could not be determined. ...Show All

  • Visual Studio Team System How do I download Team Foundation Server (Full) ???

    I have an MSDN subscription (Visual Studio 2005 Team Edition for Software Architects). When I go to subscriber downloads, under "Team Foundation Server", there are two products listed: Visual Studio 2005 Team Foundation Server Trial Edition (English) Visual Studio 2005 Team Foundation Server Workgroup Edition (English) How do I get the full version of TFS Thanks After spending many days trying to figure out this, I've finally understood... First of all, let's get one thing straight. Regardless of you MSDN subscription level and/or your Certified Partner level. The Microsoft Visual Studio 2005 Team Foundation Server prodcut is **NOT** going to be available for download ...Show All

  • Visual Studio Express Editions Nasty error, need help.

    ------ Build started: Project: OpenGL Test, Configuration: Debug Win32 ------ Linking... OpenGL.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function _WinMain@16 C:\Documents and Settings\Deru\Mina dokument\Visual Studio 2005\Projects\OpenGL Test\Debug\OpenGL Test.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at "file://c:\Documents and Settings\Deru\Mina dokument\Visual Studio 2005\Projects\OpenGL Test\OpenGL Test\Debug\BuildLog.htm" OpenGL Test - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== And the problem is, I copied this from an tutorial so i'm kinda sure it's supposed to work. I've followed the install ins ...Show All

  • SQL Server Handling flat files that do not exist

    Hello, I have a package that contains 22 data flow tasks, one for each flat file that I need to process and import. I decided against making each import a seperate package because I am loading the package in an external application and calling it from there. Now, everything works beautifully when all my text files are exported from a datasource beyond my control. I have an application that processes a series of files encoded using EBCDIC and I am not always gauranteed that all the flat files will be exported. (There may have not been any data for the day.) I am looking for suggestions on how to handle files that do not exist. I have tried making a package level error handler (Script task) that checks the error code ("System:: ...Show All

  • .NET Development TextBox new value disappears

    hello all, I am trying to update records again a certain user. when the user goes on the Update.aspx page, two Textboxs ( txtnewFname, txtnewLname) are filled with the data for that particuler user using a query(SQL Server). Now the user chanes his/her firstname and last name and clicks on Update button. But the old values loaded by the query are again sent to the database and not the modified values. Why does it so happen Anybody please help me! Here is my code: //Page Load Event Private Sub Page_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'Put user code to initialize the page here btnsubmit.Attributes.Add("OnClick", "return Che ...Show All

  • SQL Server ERROR using GROUP BY

    Hi guys, The code below works fine if I take the "GROUP BY" Sentence out. Without the group by, I am getting something that looks like: Proj Nr Proj Name Proj Nr & Name 001 Proj 1 001 - Proj 1 001 Proj 1 001 - Proj 1 001 Proj 1 001 - Proj 1 002 Proj 2 002 - Proj 2 002 Proj 2 002 - Proj 2 002 Proj 2 002 - Proj 2 And I need only one line for each Proj, like: 001 Proj 1 001 - Proj 1 002 Proj 2 002 - Proj 2 (It is not because of the tables. It is because the Nr "001" is only a substring of the data) I thought I can use GROUP BY in order to get only one line for each Proj. This is the code I am trying: ...Show All

  • Visual Studio Loading a crystal report file gives this errormessage: Load report failed.

    Hi all I've read through quite a lot of posts and threads regarding this issue but haven't found anything that matches mine to the point. I have problems when loading a specific .rpt file. It opens and runs in Cystal Reports and I have opened many other .rpt files without any problems. Therefore I assume that there is no path issues or access problems. So, the line which makes my head ache: CrystalReportDocument.Load(InputFile); // Loads the Crystal Report It gives me the following errors when I list out the exceptions (sorry for the spam, not too sure what is of importance and what is not): Hi Guys, I had the same issue reported. I rebooted the web server and then copied over ReportViewer.dll to bin folder. S ...Show All

©2008 Software Development Network