Oguz Bastemur's Q&A profile
Visual Basic Error with my project
Hi! I have nearly formated my pc. And i copyed my project. Then i installed VS.2005 on my new formatted pc and tryed to continiue with my project. I open the project and try to open my main .vb file. Then it comes an error opening the .vb file... I cant tell exactly what it stands right now, because im not on my computer... I write what the error contained later today. If someone understands this without explaining what the error said, it have been nice! Ok the error is: There is no editor available for 'D:\Projects\MyProject\Main.vb Make sure the application for the file type (.vb) is installed. This is weird. It happend on my other c ...Show All
Visual Studio 2008 (Pre-release) What Happened to ChannelFactory.CreateFactory?
I'm trying to create a client channel using the code from "Programming Indigo" book: EndpointAddress address = new EndpointAddress("http"//localhost:8000/SampleService/"); BasicProfileBinding binding = new BasicProfileBinding(); ISampleService proxy = ChannelFactory.CreateFactory<ISampleService>(address, binding); proxy.DoSomething; Apparently the CreateFactory method no longer exists and the implementation has changed since this book was published. Can someone please tell me what the equivalent method is in the February CTP Thanks, Chuck EndpointAddress address = new EndpointAddress("http:/ ...Show All
Windows Forms Translating VB code to C# - need some help
Hi, Sorry to bug you all, but I have a quick question. I attended a Microsoft CodeCamp this weekend and they had an exmple that was written in VB. I would like to port that over to C#. Here is one of the VB examples. Public Function FillDataSet() as DataSet con.Open() Me.daOrders.Fill(me.Orders) Me.daOrderDetails.Fill(me.Orders_Detail) con.Close() &nb ...Show All
Smart Device Development Windows.Forms.InputLanguage not available in CF 1.1
' The following, tested on Windows, doesn't respond to changes in the language setting: ComboBox1.DataSource = System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.MonthNames ' This doesn't respond to the current languate setting either: Dim di As New System.Globalization.DateTimeFormatInfo ComboBox1.DataSource = di.MonthNames() ' This works fine, but I don't want to hard-code the language: Dim ci As New System.Globalization.CultureInfo("es-MX") ComboBox1.DataSource = ci.DateTimeFormat.MonthNames ' This works, but not in CompactFramework; is there another way Combo ...Show All
Visual Studio 2008 (Pre-release) Binding validation samples
Hello I have downloaded the Winfx beta 2 (may release) and download the binding validation sample from SDK. However, I run into system IO exception because resource can not be found. The message seems to indicate that it can not find window1.baml. I check and find that window1.baml exist in debug directory. Can anyone point me to the right direction Thanks. The following is the line where system exception occured. System.Uri resourceLocater = new System.Uri("BindValidation;component\\window1.baml", System.UriKind.RelativeOrAbsolute); System.Windows.Application.LoadComponent(this, resourceLocater); Boon ...Show All
Visual C++ conversion of String to LPWSTR
i want to convert String to LPWSTR. how can i do that, i tried: LPWSTR test = (wchar_t*)ext.toStdWString().c_str(); where 'ext' is string. but it returns garbage value in 'test' please help Linux world I believe. Qt, MySql. ...Show All
SQL Server Best way to handle existing rows
I need to create a fairly simple package that copies data from one database using a sql querie and inserts it into another. what's the best way to handle rows that already exist in the destination table The package needs to run once a day and ignore rows inserted from previous runs. You can pass the data through a lookup transform and compare them to the destination dataset. The rows that don't match will be marked as errors so click on the "configure the error output" and set it to redirect rows instead of failure. Then you can connect the red arrow to your destination and map the rows. There will be two extra columns but yo ...Show All
Windows Forms WebBrowser control and Stylesheet
Hi apologies if I'm doing something stupid here, but.... I have a Windows Form that has a WebBrowser control on it. I'm applying an Xslt transfrom to some Xml and setting the DocumentText of the WebBrowser to my my generated Html. The Html refers to a stylesheet which is local to the application's directory...i.e. bin/debug. However, the styles are not being applied. The styles ARE applied if the link to the stylesheet within the Html includes the complete path to stylesheet, but I really want to avoid hard-coded paths within the Html. Can anyone shed any light Thanks But what if you done have that control o ...Show All
Visual Studio Can I install both Visual Basic 6 and Visual Studio.NET 2003
Hi, I have a computer that right now has Visual Studio.NET 2003 installed on it. I would like to also run Visual Basic 6 on the same machine. Is this possibe If not, is their a way around to do this Yes you can have Visual Basic 6 and Visual Studio .NET 2003 installed on the same computer. All Visual Studio products are designed so that you can multiple versions on the same system. ...Show All
SQL Server Problems Using Temporary Tables
I am declaring a temp table in control flow via Execute SQL task. I then want to use that table as a source in a data task, keep it alive going back to control flow and use it as a destination in another data task following. I am having trouble just getting the first data flow to access that temp table. In my Execute SQL task, I'm creating a simple temp table. After executing that task, I can head to the data task and change my OLE DB Source to point to that temp table, but I recieve an error about an invalid table name when I attempt to map columns or hit "OK." Is there something else I need to do to use that temp table as a sour ...Show All
Windows Forms Terrarium can't connect to server
When I start Terrarium, it gives me this dialog box: "Unable to verify this version is enabled. Failed to contact server 'http://www.terrariumgame.net/Terrarium' Do you wish to continue running the client " If I click "yes", it gives me red lights in the game. I don't have a firewall running. I uninstalled Zonealarm, and my cable connection doesn't come with one  ...Show All
Visual Basic Winsock Layered Service Provider
Hello, Is it possible to make a Winsock Layered Service Provider in Visual Basic 6 I want to redirect all internet traffic through a proxy server; I was told it could be done with a Winsock Layered Service Provider. I program in Visual Basic so I'm looking for a way to make on in VB. If it is possible could you please direct me on how to code one. I think it is possible. But I have never heard of any one who did it before. Maybe you are the man!! :-) rtf0 ...Show All
Visual Studio Team System tfsbuild delete working but report not changing
There's a cryptic title. Here's the situation: I created a couple of builds using Team Build and everything was correctly published. I used tfsbuild delete to delete these items because they were test items. The items were reported as deleted (and all of the build information was deleted (drop location, build location, etc.). However, when I re-ran the build report, those builds were still listed there. Is this a known bug or is there a manual way that the results of that report has to be changed Thanks. Jeff Hi Jeff - Thanks for reporting this. We are investigating this currently. Are you working ...Show All
Visual Basic Sorting a set of coordinate values (x,y,z)
Hi all, Any one aware of how to sort a set of point coordinates in the top to bottom, left to right fashion For example, I have a set of values like (3,5,10), (4,6,12), (4,6,1), (2,8,14). . (2,8,14) . (4,6,12) . (3,5,10) . (4,6,1) I want this get s ...Show All
Visual Studio C++ / Add Class / Class Wizard replacement
Hi, I want to create a more flexible C++ Class wizard then the existing one. I want to access my wizard from the "Add/class" contextual menu item, the same way as the current wizard is accessed, or add my own "Jamea Class" under the "Add" contextual menu item. Three questions: What extensibility machanism I would want to use to create the wizard I know some VB and no C# ( I am a quick learner though ) Would it be possible to append my own "Add/Jamea Class" entry in the contextual menu in solution explorer or class view if number 2 is not possible, then how do I add my "wizard" next to the C++ "C++ ...Show All
