Ogulcank's Q&A profile
.NET Development Server encountered an internal error.
Hello, I am running a .NET remoting client/server application using interface. When i run both the server and the client on the same machine then client can instantiate the remote object factory class and basically connect to the server. But when the server is running on another computer, then client cannot get a proxy to the remote object factory and it gives me this vague error message (remoting Exception ): Server encountered an internal error. To get more info turn on customErrors in the server's config file." (now, i know i can set the customError of config file to off and receive more detailed error message, but i am not using a config file for my server yet and i don't know how to set the customError programatically). anway, i hav ...Show All
Microsoft ISV Community Center Forums DOS Command Question
Im sure this is easier than what im trying to do, but any help would be great. The following code is from my .bat file, the problem is I have numerous file names that change on a daily basis, that I know I can programically change. Im not sure how I can send the dos command though from MS Access/VB. I don't want to use a .bat due to having to change file names. The following is what is in my .bat and the BOLD is what changes. shell = (dir *_* /b > e:\cginst\collect\collect.txt) move *_* e:\cginst\ssfiles) cd e:\cginst\collect\06 dir 2800_* /b > e:\cginst\collect\2800.txt move 2800_*.txt e:\cginst\ssfiles dir *_* /b > e:\cginst\collect\run00.txt move *_* e:\cginst\ssfiles cd e:\cginst\collect\06\Dec dir 2100_* /b > e:\cgin ...Show All
Visual C# Retrieving info from other windows
How can I retrieve info from other windows For example, what should I use to get the http adress from Firefox from the most active window Or the playlist in currently running WMP Ok so I need to: 1. Get the URL of most active window in Firefox. 2. Get the currently playing song title, artist, album in WMP. ...Show All
SQL Server Import errors from Excel to SQL 2005 DB Table
How frustrating is this, all I want to peform is a one column to one column Import here! Why am I getting this error when simply trying to import from my excel workbook to my table I know excel has a 255 char cell, but I specified to only account for 100 characters during the SSIS Import wizard in Management Studio. This is using SQL 2005. See the setup here http: / / www. webfound. net/ excel_ import. jpg Then I get this error during the import: Validating (Error) Messages Warning 0x802092a7: Data Flow Task: Truncation may occur due to inserting data from data flow column "F1" with a length of 255 to database column "Name" with a length of 100. (SQL Server Import and Export Wizard) Warning 0x8004707 ...Show All
SQL Server Install problem
I am having a problem installing SQL express. I have 2.0 framework installed as well as the other express software. I also have Visual Studio 2003 installed. Do I need to uninstall other version of Visual Studio Do I need to uninstall other versions of SQL. I get an error but it does not tell me what the problem is. Thank you Dee Try posting to http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=95&SiteID=1 . Fols from the setup team monitor that forum but don't always monitor the other forums. ...Show All
Visual Studio Express Editions Manually changing location of a Form in Minimized State / Form.ShowInTaskbar=False
I need help on a problem as bellow: I have Form1 that the Form1.ShowInTaskbar property set to False , After click on the minimized box when the form is in normal state it goes down and locate in the bottom - Left of my screen (excactly above the windows start button). I Want to change the location of this little title-bar. I have written the code bellow in Form1.move event but it is working just After I click on the maximized button and this will change my form-location at the normal window state: Me.Location = New Point(598, 850) note : I have not any restore button in my form so my form is not sizable Pls F1 me . . . !! Try something like this: Private Sub Form1_Resize(By ...Show All
Visual Studio Express Editions FTP Uploading
hi. i just wanna know the code for uploading a file usnig an ftp, a code that will let me enter the server, password, username, and the file to be uploaded. tanks actualy i don't understand (" ftp://somesite.com/filename.txt ", data) this one what link do i have to put, it's here that he say data rejected.... ...Show All
Visual C++ self-made hashtable extremely slow compiled with VC2005
Hi, I have a problem, and at the point I'm clueless what to do. The problem is, my app becomes extremely slow when compiled with VC2005. Application runs in half hour when compiled with VC6 or VC7, but now, compiled with VC8 it seems to take several days. I'm having this homebrew hashtable implementatation because of portablility reasons, whose probes seems to consume most of the cpu -time according to profiler. It takes 40% of cpu, while normally its something like 1%. But because whole execution time jumps several hundred percents, this alonr doesn't explain it all. And weird enough, simple little timer app I made to test the hashtable runs just fine. I'd be happy to stick with VC7, but I need to have 64bits becouse of memory consumptio ...Show All
Visual Studio Express Editions SQL Commands?
Anyone Please help me converting this sample add,edit delete to sql commands,. This uses a MS Access database. Thanks a lot Imports System.Data Public Class frmDB2 'Declarations Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Dim kulaloy As Integer Dim maxrows As Integer Private Sub frmDB2_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Try con.ConnectionString = "Provider = Microsoft.Jet.Oledb.4.0;Data Source = D:\vb.net project\AddressBook.mdb" sql = "SELECT * FROM Contacts" con.Open() da = New OleDb.OleDb ...Show All
Visual Studio Sndcastle: why XML docs needed for 3rd party dlls
Just downloaded and installed Sept CTP for Sandcastle and the Sandcastle help file builder GUI. Immediately ran into either one of two problems - errors about "can't find assembly" on a dependency - insisting on following all the dependencies. - error about not being able to find a .xml file for a 3rd party dll (for which I don't have). Questions - why must all dependencies be resolved - I only want to document the top level classes - why must all the dlls have xml files I got things working by faking out a shell of a .xml file for the 3rd party dll, but unclear on why this these requirements on dependencies/xml files exist. Neil T. The blog entries at http://blogs.msdn.com/sandcastle/default.aspx de ...Show All
Visual Studio Team System A client application for Team Foundation?
Hello guys, Is there any client application (besides teamprise) that can be used to connect to a VSTFS database and checkin - checkout files I have some css files on my web applications which need to be changed by a designer, but this is not a common task, we don't do it everytime. Therefore, we are trying to avoid having to Install Visual Studio on their machines just for that. Teamprise is just to expensive. Do you know another tool Maybe a free one Thanks And it is worth noting that if you have a CAL for TFS then you can install the Team Explorer client on your machine. If there is no version of Visual Studio 2005 installed on that machine then it will install a basic VS2005 shell on th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I protect my code when distributing it?
Having read the FAQ. I noticed that in order to share your game creations (and lets face it, you can't get recognised without sharing your games), you need to send the other person the entire uncompiled game. This includes sourcecode, graphics, music, sound etc. etc. They then compile the code and download it to their xbox360 account and then only if they too are on the games creation program. My key worry here is that you send them everything you have just worked incredibly hard to create. Presumably they can then send this stuff on to whoever they please and god forbid, even sell it on! It strikes me that there isn't much incentive to distribute things this way. How is Microsoft going to prevent the above scenario Is there going to be a ...Show All
Gadgets Some "Bug" in the gadget installation.
Hello, sorry if this here is the wrong forum, but there is no other place for this, except some vista->general newsgroups, therefore I post this here and in the vista newsgroup. I can't install gadgets! I visit the gallery website, find some interesting gadgets and click on download Result => the gadget is stored as "GADGET_NAME[1].gadget.~0000" in "C:\Users\USERNAME\AppData\Local\Microsoft\Windows Sidebar\Gadgets" but NOT added to the sidebar and I can't find it in the "sidebar folder" when I click on the "+" sign. Now I must: 1)Open this folder and rename GADGET_NAME[1].gadget.~0000 to GADGET_NAME.Gadget 2)rename the subfolder en-US to de-DE 3)open and close the sidebar If this th ...Show All
Visual C# Shell Context menu (aka Win Explorer context menu) in my app?.. how?
Hi all.. I have for a time now tried to take advantage of some of the implementations the Shell32 api can offer regards to file management, mainly i have been successful. The one thing i have not been able to do is implement the explorer context menu in my applications. I want to be able to get the same context menu Windowns explorer shows, with all the addins that may include (eg. winrar-addin, sendto, openwith and so forth) in my application. I have found code for this in both C++ and som e VB like apps, but nothing in C#. I would be extreamly glad if someone who knows how to do this could post a small app where this is done or perhaps post a link to a site where this information can be found!! If its still unclear what i mean: ...Show All
Visual Basic showing wait cursor
alright, I know this dates back to vb6 you used to do I believe Do.cmd.Hourglass=True (maybe wrong, its been a while since I used vb6) how do you show the wait cursor and return it back to normal in vb Davids Learning 'wait: Cursor = Cursors.WaitCursor 'change back: Cursor = Cursors.DefaultCursor There was no option to use "nothing" Thanks though, you got me in the ballpark. Davids Learning ...Show All
