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

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

Rainbow2007

Member List

Douglas H. Troy
bobby_dazzler
MShetty
Becky N
Patrick Travers
Raj MS
Guardian-ND
allison_h
Juan Carlos Ruiz Pacheco
Endless258
sph3ra
Amos Soma
kangalert
wuhuashouce
coolcoder
Folyjon
RandomLick
manick312938
DanDanne
Paulustrious
Only Title

Rainbow2007's Q&A profile

  • Visual Basic Simple Listbox control issue that I have trouble with!

    I have been searching the help files and tutorials I have, but for the life of me I can't seem to figure it out. All I want is a simple Listbox control, that should return either the tag or the text. This will eventually be used in a loop to get items from a database. Thus it should be eg. 1 = apple = fruit 2 = orange = fruit 3 = egg = etc. It is really urgent and I need help. If my English is not good enough or explanation to hazy just say please. [South African here] for i as integer = 0 to listbox.items.count - 1 // listbox.items is a 0-based array // do some stuff if listbox.items(i).text = "yep" then DoIt() end if next if it was a listview y ...Show All

  • Windows Forms Fatal Execution Engine Error when working With Form in Design View

    I have an application in VS2005 using XP Pro that hangs when I click on a particular form in design mode. The form has a tabControl with multiple TableAdapters. The application compiles and runs fine but I cannot click on the form in development. I've even tried in SafeMode with no success. I've tried on different machines with no success. What is wrong here Below is my error: .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A2B45A2) (0) Hanging application devenv.exe, version 8.0.50727.42, hang module hungapp, version 0.0.0.0, hang address 0x00000000. Try looking at this web page and see if it helps. http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx ...Show All

  • .NET Development DateTime Errors

    Why does DateTime(59 * TimeSpan.TicksPerDay).AddYears(1999) yield March 1, 2000 when that was a leap year and it should be February 29 Also why does DateTime((3 * 365 + 58) * TimeSpan.TicksPerDay).AddYears(1999) and DateTime((3 * 365 + 59) * TimeSpan.TicksPerDay).AddYears(1999) both yield February 28, 2003 0001 wasn't a leap year, so DateTime(59*TimeSpan.TicksPerDay) gives you March 1 0001. Adding 1999 years to March 1 0001 gives March 1 2000, which is what I would expect (just as adding 1999 years to, say, September 10 0001 would give September 10 2000). ...Show All

  • SQL Server Does "SQL Server 2005 Mobile Edition" exist?

    "SQL Server 2005 Mobile Edition" is a standalone software or it equals "SQL Server 2005" + "SQL Server 2005 Mobile Edition Device SDK" Hi Raphael, SQL Server 2005 mobile edition IS a standalone software which runs by itself on the device. The data is stored with a small footprint on the device. It's like having a server and its data on the device which u carry around. As an enterprise requirement, you can connect to a SQL Server 2005 running in your enterprise and sync your device data with the server data. I believe you can also connect to a SQL Server from your device to view and work with the server data. Regards, Amol. ...Show All

  • Visual C++ Mixed managed ARX DLL (LNK2028/LNK2019)

    I am writing a plugin for Autocad. it consists of two DLLs one .arx and the other .dbx(autocad spec) I am working in visual studio 2005 professional. both are mixed managed/native code. after writing a simple program where the arx(dll) creates an object (ie: dbxObject* obj = new dbxObject();) from the dbx(dll) I get the following errors: 1>acrxEntryPoint.obj : error LNK2028 : unresolved token (0A000157) "public: __thiscall yiwBOM::yiwBOM(void)" ( 0yiwBOM@@$$FQAE@XZ) referenced in function "public: static void __cdecl CArxProject1App::yiwArxProject1_MyCommand1(void)" ( yiwArxProject1_MyCommand1@CArxProject1App@@$$FSAXXZ) 1>acrxEntryPoint.obj : error LNK2019 : unresolved external symbo ...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 )enterpriseService; Session[ "InfoStore" ] = infoStore; Session[ "EnterpriseSession" ] = enterpriseSes ...Show All

  • Software Development for Windows Vista No uninstall option in Control Panel->Installed Programs

    Hi, if I go to Control Panel->Software->Installed Software all programs installed before the Windows Vista upgrade can't be rightclicked so they can't be uninstalled. I tried the third-party uninstallation tool "add remove pro" but those old programs don't even show up on the list. How can I uninstall programs now of which I don't know the setup path or the uninstall program With kind regards Johannes This is the procedure I used to uninstall Windows Vista on a clean install How do you perform a reinstallation of Windows XP, sometimes called a repair installation Boot Your computer and as it's starting to boot press the delete key to get in setup In the choices to boot ...Show All

  • .NET Development Raw Sockets C#

    Hello Does anyone have any suggestions, links or examples on raw sockets in csharp I am looking to sent my own custom packets (the handshake for example) but running into some road blocks. In essence I am looking to create, for starters, a half open port scanner for work and the boss's prefer managed .NET. Any pointers or directions to custom packet creation, layout in c# or any suggestion would be greatly appreciated (even the ones that say I'm a fool lol) You can get examples and documentation on sockets at http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.aspx Raw sockets can be created by specifying ProtocolType.Raw while constructing the Socket. With regards to the layout of packet, it all depends on ...Show All

  • SQL Server Multiple result sets from a stored procedure

    I have a stored procedure like the following. This returns 2 result sets, however i only want it to return 2nd (SELECT SomeField FROM SomeTable). How is this done Note - it is not possible to change 'SomeSPThatReturnsAnIntAndAResultSet ' CREATE PROCEDURE [dbo] . [SomeSP] @SomeParam int AS BEGIN SET NOCOUNT ON ; declare @SomeScalar int exec @SomeScalar = SomeSPThatReturnsAnIntAndAResultSet @SomeParam if @SomeScalar = 0 BEGIN SELECT SomeField FROM SomeTable END END Tim: I assume that the internal stored procedure always returns a result set. If that is true, try absorbing the results of that stored procedure into a temp table such as: ...Show All

  • Windows Forms Refreshing listboxes

    hi guys,need help here currently i'm displaying data from sql server 2005 database using a listbox i binded a dataset to it and it does display the items i want displayed,but the problem is i do not know how to refresh the list immediately when a data is added to the particular table any solutions thanx in advance Hi, i had the same problem. I solved the problem by dataset refreshing. SqlDataAdapter has property "AcceptChangesDuringFill". So I set this property to true and fill the dataset again . dataset.Clear(); adapter.AcceptChangesDuringFill = true ; adapter.Fill(dataset); listBox.Refresh(); I think this is not a best solution. But I don't know any other y ...Show All

  • Visual Studio Logon failed

    hello i'm from mexico so i'm sorry if my english isn't the best i am working with visual basic .net 2003, SQL Server 2000 and Crystal Reports .NET (the one that is included in Visual Studio .NET 2003) i was working in a server machine and had finished the project last week, everything was working perfect. the problem showed up when i tried to run the application on a client machine. when the crystalreportviewer open on the client machine it asks me for login information such as server name, database, user id and password. this information is not required when i run it on the server machine. anyway this wouldn't be a problem at all the big problem is that even if i enter the correct information on the login window it appea ...Show All

  • Windows Forms return type

    hi all, we all write the functions with return type as int,double but why we need return type as another class name e.g public class abc() { some code here } public abc functionname() { } why we want return type as name of the class also why we need the return type of function as an object any help......... Hi, 1. Person p = new Person(); 2. Person p; The difference between the two is that with the first, you declare a variable of type Person and instantiate it. The second only declares the variable but doesn't instantiate it yet. You can not request an object 's properties as long as it is not instantiated. Greetz, Geert Geert Verhoeven ...Show All

  • Visual C# Splitting Tiff Files...HELP!!!

    I surely hope someone here can help me out, because I've looked all over the internet and have found nothing that helps. I've found some code that I thought would solve my problem, but none of it compiles! My background - business programming with VB, from VB3 through VB.Net under .Net 2005. No graphics programming experience whatsoever. My problem - write a C# routine (in .Net 2005) using GDI+ to take a tiff file containing multiple fax documents and split the file into multiple tiffs. This is as far as I've been able to get: static String [] SplitFile( String file_name) { System.Drawing. Image imageFile; // File name hard-coded for testing...waiting to have file provided on server imageFile = System.Drawing. Ima ...Show All

  • Visual Studio Team System Protocol violation - can I change how sensible the test shall be to protocol errors?

    I get this error when running a test on a web page that I have no possibility to change: RequestFailed: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF Is it possible to configure how the test shall handle this so the test will not fail The config file entries need to be in vstesthost.exe.config if you are running locally, or in qtagent.exe.config if you are running the test from team test load agent. If you make these config file changes are you still seeing the problem Ed. ...Show All

  • .NET Development msWebBrowser..again and again and again: memory problem

    Hi all. I read a lot about this topic and i found that there are many people like me having problems with the memory usage of the ms WebBrowser component. First i was using the AxWebBrowser component and had problems with the memory usage. With every new page-load the memory usage increased by some megabytes. As a result, it is almost IMPOSSIBLE to build a automated browser for complex operations (cause after 10 minutes, the programm uses 250 MB Ram...). When i noticed that ms has added a webbrowser-control to their base Windows-Forms NET classes in visual 2005, i thought this wrapper class would handle this problem, but as it seems, nothing has changed. I read a lot in the web and this is a very well-known problem. Some guy said calling t ...Show All

©2008 Software Development Network