zoki977's Q&A profile
Visual Studio Where to start
Hi, I am new to MSBUild and all it can do and how it can be used for website deployment. Any pointers For web deployment you should look at the web deployment project beta. More information is at http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx . Neil ...Show All
Visual Studio Tools for Office Switch between Actionpanes
Hi, I have a complicated question, but I hope the answer is an easy one. I have a word solution that has a few usercontrols which are loaded in the "Task Pane". When I start the application the first actionpane apears. Then I can click a linklabel and the parent control should be closed or unloaded. This was my code : Me .ActionsPane.Controls.Clear() ...Show All
Smart Device Development VB 2005 Smart device HRESULT E_FAIL COM failure
Attempts to create a new smart device app with VB 2005 compiled for PC 2003 or Win CE 5.0 result in an immediate error message of: "HRESULT E_FAIL has been returned from a call to a COM component." No other info about the error A console VB app ( not smart device) can be created and compiles correctly. This is a very basic scenario and should be working fine. Can you please provide the following information so that we can narrow down ...Show All
Visual Basic How do I...
specify an icon to use for my exe file I have the icon file that I want to use, but I'm not really sure where I would include it... Menu option Project | Properties Application Tab Icon Clearly tiltled questions are always appreciated! Happy programming. ...Show All
Windows Forms Combobox Usage VS2003 -> VS2005
I need to populate a C# Combobox with potentially several thousand items. I know this is not recommended but this is after horiz data splitting so it's the best I can do. In VS2003, I tried binding to a dataset but this was way too slow so I started loading the Itemlist from a datareader and it worked great. No more than 2 seconds to load several thousand items and memory usage stayed well within reasonable limits. I tried the same code compiled ...Show All
Visual Basic C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax The biggest problem comes from trying to recognize these characters from the comport. ...Show All
SQL Server duplicit values in primary key constrain
Hi How it is possible find duplicit values in primary key contrain Until now I seen two databases which crashed on bad index paging and dbcc chedb with full repair report error on repairing primary key with duplicit values. I am really shocked about it. How it is possible Or what I can do to prevent it Thank you Michal This is not a normal situation and something is wrong. To get an answer you are asking for ...Show All
Visual Studio 2008 (Pre-release) BamlParseException Error at element 'StaticExtension' in markup file '' : Could not load type 'System.Runtime.CompilerServic
Hi I am trying out the WinFX Jan CTP on XP SP2 I get the following error while trying to run XAML applications. I believe I have a clean install. Followed prev. installation cleanup instructions to the dot. But still getting this error. Looking at the stack trace I can see that the generated BamlFile has some problem as it seems to be specifying a missing class in Mscorlib. Can someone please help to solve this problem Application Identi ...Show All
Visual Basic How to test my function
I want to test my code however, when trying to call the function at the end, it's saying Parse isn't declared. How can I test this code in my VB.NET console application in VS 2005 below I tried moveing the call to the function inside my Sub Main() but I still get the same error....Parse not declared. http:\\www.webfound.net\consoleapp.txt I figured it out. I didn't declare a new variable for the class instance. Howe ...Show All
Visual Studio How can I set the build action property of an item from a item template ?
Hi, I developed project template and item template. My item, which is based on an item template, has a specific build action. How can I set it from the item template I don't find any property or any element in the Visual Studio Template Schema Reference to do this. I tried the subtype attribute of the ProjectItem element but nothings happens. In the thread below, the question was similar but the response is ambigous. > ...Show All
SQL Server How to Turn ON the Log
My users have created reports using Report Builder. I as an administrator would want to see the queries which was generated. Please could some body tell me how I could turn ON the log. Thank you, You have a couple of options: 1. use sql profiler on the database server instance 2. change the logging level for the SemanticQuery component within the ReportServer instance - Program Files\Microsoft SQL Server 2005\instance\Re ...Show All
Visual Studio Express Editions Unistalling Visual Basic 2005
Hi everyone, I did something stupid at work today and I need your help. I do not work for the IT dept, I downloaded the Express edition unto my c drive, I am afraid if it might have affected the SQL Server on the network. Is that possible Is it possible for me to uninstall the whole program from the c drive without it affecting the office network I got it from the microsoft website. That is such a reli ...Show All
Windows Forms Showing List View Selection?
I'm using a List View control in Details view. Is there any way to get it to show the selected row even when the control doesn't have focus (ie. always highlight selected row) thanks DMan1, that wroks great, now does anyone know how i can: - select an arbitrary row with code - change column text in an arbitrary row with code the selectedIndicies member seems to be read only ...Show All
.NET Development Problem Marshal'ing
Hey everyone, I've been trying to do some out-of-process memory reading lately and I had a question about some things pertaining to Marshal'ing. Ok so right now I have these 2 classes... internal OutterClass = new OutterClass(); internal OutterClassPtr = Marshal.AllocHGlobal(3520); [StructLayout(LayoutKind.Explicit)] public class InnerClass { public InnerClass() { } [FieldOffset(0)] public short InnterField ...Show All
Visual Basic Storing and Retrieving a Class/Structure
Hi, I wish to create a very large array of a structure of the form: Public Structure FileData Public FilePath As String Public DateCreated As Date Public FileExtension as String End Structure What confuses me is once I have generated the array of my structure, how can I work with it most effectively. I need to be able to store it to disk and recall it into the structure form ag ...Show All
