Espasojevic's Q&A profile
Visual Studio 2008 (Pre-release) VB .net Issues?
Hi, I have been coding my WCF apps with C# for a long time. A friend of mine asked me to write a WCF app in VB .net. I wrote a very simple hello world program, everything seems to be perfect but when hosting the app i get the error message "Zero application end points defined ................" Is there anything that has to be done for coding WCF apps in VB .net Are there any similar problems when coding with VB .net for WCF Regards, Suraj could you please include your config file code and sevice code. I will try to reproduce it at my end. Dileep Agarwal ...Show All
Visual Studio Tools for Office When will be shared add-ins for other Office apps available?
Hi, I am curious to know when will be share add-ins for Word, Excel, Visio and Power Point be added to VSTO Thanks, Doriak This has been an area of interest for some time within the team, and our PDC 2005 session featured early proof of concept demos with application-level customizations. However, surely it is still too early to declare with certainty the feature list etc. or timelines for VSTO v3. Please keep your ideas and input coming as we are in the early stages of v3 planning and development. This is a great time to convey your wishlist, feedback, and even praise! John. http://blogs.msd ...Show All
Visual C# Generics: trouble inferring type parameters from usage.
Hi everyone, Can anyone explain why the following code won't compile public static class Utilities { public delegate void Unary<T>( T t ); public delegate void Binary<First, Second>( First first, Second second ); public delegate void Tertiary<F, S, T>( F first, S second, T third); public static Unary<Second> BindFirst<First, Second>( Binary<First, Second> function, First first ) { return delegate( Second second ) { function( first, ...Show All
Visual Studio Express Editions Help Please on Visual Express Database Saving
I just recently downloaded visual basic express and i've found it to be a very powerful tool despite being free. I've been moving right along through the tutorial and ran into a simple problem..... I got to this page on the "How Do I" help training: "Adding or Modifying Your Records: Updating Data" I created a project and connected it to a database. When I run the form and "update" the database on the form(and save it) it doesnt save. When I reopen it, it has the original data and not what I added. Please, could someone give me some insight into what I'm doing wrong This is the code they provide to save ...Show All
Visual C++ CRichEdit & UNICODE or UTF8
How can I take the UNICODE or UTF8 text from a CRichEdit streamOutCallback method gives only ANSI codes. For others codes in UTF8 gives " " (63). And allways give only one byte chars. Do you just want the Unicode text or the RTF opcodes If just the Unicode text, just use EM_GETTEXTEX with 1200 as the code page. (make sure your window is a RichEdit20W) ...Show All
Visual Studio COR_E_INVALIDOLEVARIANTTYPE
I am working on developing a VS.NET addin. In that context, I'm hosting the MS web browser control to provide some of the user interface for the addin. In order to respond to user events from inside the HTML document, I'm hosting the control as described in the second example here: http://www.codeproject.com/books/0764549146_8.asp I'm implementing various OLE interfaces on the site that is hosting the control(through IOleObject.SetClientSite), including IDocHostUIHandler. In the IDocHostUIHandler.GetExternal method I'm providing an IDispatch object that looks something like this: public interface IFunkyStuff : IDispatch { voi ...Show All
Visual C++ What's the difference between OnSize() and OnSizing()??
Will these two functions be called in sequence and in what sequence If I recall correct OnSizing happens during the resize, while OnSize is called after the fact. -- b.gr P.S.: The MFC docs cover this in a pretty understandable way :] ...Show All
Smart Device Development Reading XML ISO-8859-1 is not supported?
how to read xml with ISO-8859-1 it always throw error ISO-8859-1 is not supported. i need to build application in smart device that can read RSS xml, but most of RSS out there is ISO-885901. any idea how to trick this problem thank you. You can use some supported encoding, but characters out of ASCII range might be mangled. You might be able to implement 8859-1 Encoding class as well and use it like this: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/2dde891b73183dd2/ab891a460ded8897 q=ISO+8859&rnum=2#ab891a460ded8897 ...Show All
Visual C# String & StringBuilder || sizeof () & Marshal.Sizeof ()
If you know,please tell me : _ performance of String & StringBuilder _ Different between sizeof () & Marshal.Sizeof () Vu, Thanks. To clarify the difference between sizeof() and Marshal.SizeOf: sizeof() tells you the size of a managed object. Marshal.SizeOf tells you the size of the object when it's marshaled to unmanaged code. Generally, in your code you'll want to use the sizeof operator. -Shawn ...Show All
SQL Server Model Designer - ODBC Data Source
I want to create a Model against an ODBC data source. This is not possible in the June CTP. Will this facility be available in a future release Thanks, Joe Unfortunately the chaps from Partner Tech Support were misinformed. This is a reply from MSAS newsgroup : AS2005 is not going to support ODBC data source. However, you can try to create a data source in SSIS project. Then, add the data source into new AS project. You should be able to create DSV, cube and dimension, etc. However, since this feature is not supported. Believe that this area has not been tested enough and this may break engine or not workin ...Show All
Windows Forms ComboBox - Read Only?
Looking at the ComboBox control in VS2003 and in the August CTP of C# Express, there doesn't seem be a readonly property. When I used to program in C++ using MFC I'm sure the ComboBox controls were readonly by default. Is there an easy way of making the .NET Windows Forms ComboBox readonly Thanks in advance Doug Holland Hi, As I understand, setting your combobox into a dropdownlist would disable the user to place values in it manually. Also, I tried programatically setting the text property of the combobox(dropdownlist mode) and still its disabled... So I think setting the type of the combobox into a ...Show All
Visual Studio Express Editions Serious Problem , Need Help Fast
Okay So I installed Vb Express Edition a while ago like 2-3 weeks ago , and i finally got around to making an application, well i started to make it and made it and made it and tested it and tested it , when suddenly i hit the run button and the computer just shut down , the power was on but it like restarted, next i started the program again and did the same thing, but now this time i went to file save and save the soloution and bam the computer did the same thing, so it restared again and then when i logged in there was a popup that said The System Has Recoverd From A serious error so i saw what the contents of the repor ...Show All
SQL Server Configuration Manager - which configuration type to chose ?
It seems to me, that the best way is to have one Environment Varible containing the name of the SQL Server, so that you can look up the configuration in the SSIS Configuration Table when you run the package. Is this the preferable way of doing it I would like to hear some positive/negative comment of why chosing a configuration type instead of another. It seems to me that putting all of the configuration in the Environment variable is harder work but most secure (server breakdown vs table corruption/database error...) Let's have some comments http://blogs.conchango.com/jamiethomson/a ...Show All
Windows Forms Need help with VB.net involving simple array look-up
Hi guys, I'm trying to have a State Name and Abbreviation finder, that stores the stuff in an array, but I'm not sure on how to go about doing it. So far, I've gotten this stuff done: Public Class frmVBACSL Inherits System.Windows.Forms.Form [Windows Form Designer generated code] Structure StateInfo Dim StateName As String Dim Abbreviation As String End Structure Dim States(56) As StateInfo Private Sub btnExit_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click Me .Close() End Sub Private Sub btnClear_Click( ByVal sender As Sy ...Show All
Windows Forms How do you tell if an mdi child is open
How can you tell what mdi child windows are loaded Thanks of the help Ken. I am a newbie myself and I was wondering how to achieve this for a little while now. ...Show All
