PoorSQLGuy's Q&A profile
Smart Device Development error: An internal error occurred in PlatformVerificationTask which abort project build
I get an 'internal error occurred in PlatformVerificationTask' both error and warring when I build. 1. The project type is a device application for Pocket PC 2003 and is written in C#. (Just create new project then build) 2. I am running VS2005Pro CHT version 8.0.50727.42 (RTM 050727.4200) detail: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Package: Professional Microsoft Visual Basic 2005 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 3. Project was native VS2005 PPC 2003 C# 4. All I do is create new project then build then got both error and warring. After that. 1) I just uninstall full VS2005 include runtime and tools(also include .NETF 1.1 ...Show All
Visual Studio Tools for Office Remove borders from Excel charts using C#
I am building an excel file from scratch. this includes charts of data. In this particular case I need to remove the borders from the chart, but it doesn't appear to work correctly. // The next three lines are an attempt to remove the border, the fourth shows that I am controlling the chart ((Excel.ChartObject)oSheet.ChartObjects("Chart 1")).Border.LineStyle = Excel.XlLineStyle.xlLineStyleNone; ((Excel.ChartObject)oSheet.ChartObjects("Chart 1")).Interior.ColorIndex = 2; ((Excel.ChartObject)oSheet.ChartObjects("Chart 1")).Border.ColorIndex = 2; // After attempting above I use the following code which works to round the corners ((Excel.ChartObject)oSheet.ChartObjects("Chart 1")).RoundedCorners = true; I don't want to round the co ...Show All
Visual Studio 2008 (Pre-release) Gif Resource, not finding System.Drawing
I'm trying to add an existing .gif as a resource to a WPF application. After adding the file to the resource file and building I get the following error: Error 1 The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference ) The offending code is in the Resource.Designer.cs file that is generated and looks like: internal static System . Drawing . Bitmap go { get { object obj = ResourceManager . GetObject("go", resourceCulture); return ((System . Drawing . Bitmap)(obj)); } } Because the file is generate I am unsure how to add the namespace without it being over-written. Beyond that, even if I do manually add a System.Drawing, I find ...Show All
Visual C# accessing information from a website using .net
Hi, i want to do an application that access some information from different websites and store it in a spreadsheet. usually these information is displayed on the corresponding websites in a table format. how can i do this using .net ( C# ) also, this application should be run automatically ie without any user trigger . it should run daily at some fixed time. i think i can implement this using .net windows service. but i donno how to. anyone pls help me.. thanks in advance Sajitha You can access any website by using the Framework's 'System.Net' namespace. By doing so, you have to parse the response text to filter out the table data to be stored in a spreadsheet (or to be displayed on your own web site). Usually th ...Show All
SQL Server SQLBulkLoad please help!
I'm having some trouble working with SQLXMLBulkLoad and was wondering if someone could point me in the right direction. I'm just getting one error so far, "multiple base for derived type not supported". Can the bulk loader really not handle derived types with multiple bases or am I missing something. I've got about a gig of XML to get imported against an XSD schema that is about 12,340 lines and, as usual, it's got to be done last week! Thanks a lot, Ferg Did you can post some XML Datas and XSD schema I just complete a test function for SQLXMLBULKLOAD . The function is used to import more than 1.5M recorders into sql server 2005. if any question ,add my MSN: Jerome.tan@hotmail.com more info i ...Show All
Visual Studio looking 4 code flow chart generator addin/software
Hi there, Since I've started to work on some new f%*$!#cg code in Vissual Studio ( c/c++ with 2003 .NET Pro & 2005 Pro), i'm losing my brain cells trying to figure out what's happening in there. So, in order to help me vizualising all conditions mixed together I'd like to find a tool to create flowcharts from source code than can be used as an addin tool in VS or even a standalone software. Anyone has something to recommand me Thanx in advance, Thierry ROBIN ...Show All
SQL Server Need Help about Initial Snapshot
i have created a publication whereas i have provided a network path to its snapshop folder e.g ( \\server\folder ) at time of creating. When i try to make a Pull Subscription and follow all steps of wizards, it gives me following error " The initial snapshot for publication '---' is not yet available". can you guide me what are causes of this problem and how may i solve it Thanks for help. Regards, After you create the publication, you need to start the snapshot agent. The snapshot agent is what creates the files available for subscriptions to use. ...Show All
Visual Basic Passing Pointer to an Array in VB
I have an array i have to pass the array as a pointer. WIllfin Arrays are reference types which are marshalled differently between managed and unmanaged code. (see ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxinterop/html/049b1c1b-228f-4445-88ec-91bc7fd4b1e8.htm) Since you specify you are doing this in VB, it shouldn't be a problem but could get tricky if dealing with interfacing with API's. To pass a parameter to a method, you can either pass it ByVal or ByRef. The other trick is being aware of what you are passing. In the case of a simple Integer, passing it ByVal means passing a copy of it where-as passing it ByRef means passing a pointer to the memory containing the integer. Thu ...Show All
Visual Studio Express Editions Convert to upper case
hi I have one question. for examle, when i press the button, all words conteined in a RichTextBox are converted to upper case. Thank you. The question is, when i'm clicking on the button, all words conteined in the RichTextBox is converterted to upper case. For example i have writen "Convert to upper case", and when i click on the button, that text must be like this "CONVERT TO UPPER CASE". The button is located in Form. ...Show All
Visual C# How do I customize Service Setup?
I would like my Service Setup to query the user for the location of a certain file, which will be a parameter to my Service. Is it possible to do Thanks You'll end up needing to either create a standard setup program that will prompt the user for the information or create a custom Installer class that will prompt the user. If you create an Installer class then InstallUtil will work with it. Creating such a UI is beyond the scope of this post so refer to MSDN on how to create custom installers and/or creating custom UIs for setup programs. Michael Taylor - 1/11/07 http://p3net.mvps.org ...Show All
Game Technologies: DirectX, XNA, XACT, etc. spacewar starter kit problem
When I run the spacewar starter kit on visual studio (f5), it seems nothing happens, it can't even accept mouse pointer. Is this the proper way of running this starter kit. Also unless you enable the keyboard you can only play spacewar with the xbox 360 controller. So if you se the title page but cannot move on then this is why ...Show All
Smart Device Development Connect To GPRS
Hello Experts, How can I establish an internet connection using GPRS from my Pocket Pc application I want my application to check if GPRS connection is active, else automatically activate it. Can this be done using OpenNetCF If yes, how I tried, but it simply checks if the connection is live, but doesnt connect automatically. Please help. Regards, Suman Ghosh prawin wrote: U Can check for a gprs connection using the following code: Use OpenNETCF.Net AdapterCollection adapters = Networking.GetAdapters(); foreach (Adapter adapter in adapters) { int ras = adapter.Name.IndexOf("RAS VPN"); int activeSync = adapter.Name.IndexOf("Serial on USB"); // Check if this is a GPRS/GSM/ ...Show All
Visual Studio Team System CTP5 Refresh
Hi, According to Cameron's post: http://blogs.msdn.com/camerons/archive/2006/09/15/756593.aspx We need to grant execute permission to public. Can someone explain exactly why we need to do that I'm interested to know. Thanks Jamie Rafet wrote: This is so that the Visual sudio can drop the temporary database credted [DbNam_GUID] duirng the project load. The CTP 5 refresh is EXTREMLY buggy and I do not recoment ayone installing it. Rafet I'm thinking CTP5 as a whole is (see my other threads) and yet, the bits that do work are so fantastic, I'm persevering with it! -Jamie ...Show All
SQL Server problems testing db restore, file based backups
I'm trying to test out a restore scenario for a large database. It contains several files, each one is backed up when we are finished inserting data into it. No changes are made to the data after insert. All changes happen in tables in the primary file group. So, I backup the primary file, the log, the first "partitioned" file, the log, the next "partitioned" file, the log, etc, etc, etc. Now, I delete one of the tables residing on one of the partitioned files and want to restore it. For arguments sake, let's say I have a primary file, and 5 partitioned files. I delete the table which was on file 3. I'm having trouble wrapping my head around the steps to restore under these circumstances. I thought I understood it ...Show All
Visual Studio VS 2005 Slows down and crashes intermittently
Hi ... I've had VS2005 running flawlessly at work for a couple of weeks now, programming in VC++. Yesterday VS started to act a little strange - here are some examples: it takes, what seems like, forever to save my code before performing a compilation, VS takes a very long time to start up when I first run it (before loading in my project), sometimes VS will just disappear completely and leave me with just the help window open ... there doesn't seem to be any problems compiling or debugging - those run at normal speed. Today, during normal use, VS2005 caused a blue screen of death. I'm running VS2005 on a Dell server with dual 3.2 Xeons, 2Gb RAM, with Server 2003 Standard x64 as the OS. If anyone could shed some light on the matte ...Show All
