_JERKER_'s Q&A profile
.NET Development Teredo problem ?..
I run XP Pro SP1 with Advanced Networking Pack installed. The machine is behind a corporate NAT, proxy server, and a firewall. IPv6 Internet Connection Firewall is disabled. Peer-to-peer and UPnP are enabled. I installed Teredo enterpriseclient. Then I ran this command: netsh interface ipv6 show teredo The result was: Type : enterpriseclient Server Name : default Client Refresh Interval : default Client Port : default State : probe(restricted) Type : teredo host-specific relay Network : managed NAT : restricted The sample Graph Chat application from XP Peer-to-Pee ...Show All
SQL Server SQL Server 2000 -- Taking over my memory
I am running SQL Server 2000 on a desktop PC. Just recently upgraded my PC to 2gig of ram from 1 gig, in part, to try and fix the problem below. Didn't work. Have SP3 installed but not SP4 at this point. When I open up query analyzer and edit some code, regardless of whether I actually execute the code, SQL server eventually sucks up available and cached memory to the point that my system comes to an effective halt --takes forever to do anything either in SQL server or other applications. In the task manager PF Usage climbs to just over the 2gig memory limit. I conceptually understand the dynamic memory operation of SQL server ... ...Show All
Smart Device Development process start notification
Hello, I am programming for ppc2003 in vs2005 C++ (so, native code). I would like my program to be notified when an other process starts. Of course I can periodically poll the running processes but this takes processor resources and might not be fast enough when I poll i.e. every 5 seconds. Is it possible to get this kind of notification on a pocket pc I dont think there are any notification for process starts and stuff. You can use some sort of inter process communication like named pipes, signals or message queue, have the starting process to notify your program by writing something on a message que ...Show All
Visual Studio Express Editions Append to XML file
I'm trying to make an application to keep track of recipes, but I can't figure out how to append to an XML file. I've searched online, but I'm not coming up with the answer. Someone suggested a dataset, but I can't figure out how to use that to append to an XML file. I'll show an example of the code and what the XML file currently looks like. Private Sub Save_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click Dim xtwcurrent As Xml.XmlTextWriter Dim lines As String () = Directions.Lines Dim clines As String () = Comments.Lines xtwcurrent = New Xml ...Show All
.NET Development Insert fails, need to know if SQLCommand error or SQLServer
When doing an insert/update/delete using ExecuteNonQuery that FAILS I want to know if it failed because... there was a problem with the database server (e.g. I get a timeout, tempdb is full, or similar) OR There was a problem with the SQLCommand (invalid table name, column name, invalid where clause, etc) I could get the error code and check this against a list of error codes that mean SQLServer was unable to process the command, but this is inefficient Does anyone know how to check if the problem was the sqlcommand, or SQL Server If not, does anyone have a list of errorcodes that mean it was the server ta much ...Show All
Visual C++ I get a warning WINVER not defined. Why?
Hi, I always get this warning when I compile projects in VS 2005. When I define this then it says macro redefinition. Then I tried #undef then defining but still the same result. Then I tried #ifdef but then also the same result. Can somebody tell why this is happening. Thanks Nibu thomas. here is the kb article. http://support.microsoft.com/default.aspx/kb/320479 ...Show All
.NET Development Restrict access to assembly
Hi All, I have a question in regarding restricting assemblies calling. Let me give a brief description. I have a .exe that would load and use multiple dlls. I am now loading these dlls by reflection. All these dlls would implement an interface, whereby the .exe would identify them. So now, my question is, how can i control, which dlls that the .exe can call What i meant is, I would want to track how many new dlls is created, I would probably provide my interface for other application developers to use to create new dll; but i need to be notified of it, so that the other developers would know simply create dll without my knowledge that ...Show All
.NET Development Problems adding web reference
Hi guys, I quite new to web services. I'm not quite sure if this is the place to post this but my problem involves a web service so here goes. I am using Visual Studio 2005 to create a windows service which will call some functions exposed by a web service. Now, my problem is that I can't add that web service as a web reference. Some background on the web service is that it is compiled in Delphi 2005. And it has a .dll extension, which is different from the books and web I've read which shows .asmx extensions. When I right click on project, select add web refereence, and on the dialog that comes up, I browse the web service, I get t ...Show All
Visual Studio Autosynchronizing the class view
I'm trying to create an add-in that will keep the classview synchronized with what I'm editing, meaning that as soon as I position the carret inside a class or a member function, the class and the function are selected in the classview. Unfortunatly, I've run into two problems: First, I can't seem to find an event linked to a carret position change. The best I've come up with is LineChanged Event in TextEditorEvents Object , but it only triggers if the line is changed (as its name aptly indicates), not for carret position changes. And second, I've been simply calling the command View.SynchronizeClassView each time my event is trigg ...Show All
.NET Development How could I know if I am running a NGEN'ed image?
After I NGEN'ed my program and run it, I found there is no change on memory cost and running speed. I doubt if I am still running the old version(not NGEN'ed) of my program. How can I run the NGEN'ed image directly Or how can I know if I am running a NGEN'ed image Thanks! The simplest way is to look at the fuslogvw. This would give you details as to which image was used and the reasons as to why the NGEN Image wasn’t used. ...Show All
Smart Device Development Application don't want to run
I've compiled my binary with VC80 and found a problem with CreateThread - it doesn't create a thread and GetLastError returns error number 8(it creates 2 threads, but 3rd thread creation fails), but when I've worked with eVC and everything was OK. What is the difference - may be wrong project's settings Thanks. Ok, let me to supply my previous post with differences between vc 8.0 project's settings and eVC 4.4: first of all - usage of MFC and ATL: eVC 4.0: Not using MFC VC 8.0: &nb ...Show All
Visual Studio Express Editions VC#05B2: "A problem has been encountered while loading the setup components. Cancelling setup."
Hello! I get the following message when the installer of VC# 05B2 is loading: "A problem has been encountered while loading the setup components. Cancelling setup." I had no problems in installing VC++05! I have reinstalled MSI, which didn't solve the problem. How can you help me Please help me, because I want to use Vc#05 retail. But I will not buy it if I can't install the beta. Thank you, Tanek The install log- files contain errors: dd_vserror80.txt: [ 08/21/05,20:52:17] Visual C# 2005 Express Edition Beta 2- English: [2] CRootComponent::SetManager() - MsiGetProductInfo returned ERROR_UNKNOWN_PRODUCT [08/21/05,20:52:17] Visual ...Show All
SQL Server Report Builder Help
I have been doing everything in Report Designer....now I just tried report Builder after using a Model I creted to create a report. When I try to run the report, it's prompting me for a username and password. Where and how can I switch this to Windows Authentification The dataset it's supposedly using already has windows authentification as the method. But the strange thing is, when I click on View Report, it gives me another dataset name called dataset1 saying that I must first supply a username and password...where did this generic dataset name come from What dataset is this refering to it certain ...Show All
Visual C# Question about using Visual C#
Can I use Microsoft Visual C# to develop cross-platform software and the developed software support many different operating systems including Windows, Macintosh, Linux and others http://www.mono-project.com/Main_Page ...Show All
SQL Server Getting error "Not enough space on drive c:\" when I install SQL Eval2005 on XP(sp2)
I keep getting that error, yet I have 180GB of space. Is this because my drive is FAT32 and not NTSF (Help) There was an issue in SQL 2000 where if the free space on the disk was an exact multiple of 4gb, you'd get this issue...workaround was simply to create a dummy text-file or something that was a 101 mb in size or something so the free space wasn't a multiple of 4gb...see this KB: http://support.microsoft.com/kb/301913/en-us Not sure if may be still an issue here. FAT32 obviosly only supports files 4gb and smaller... HTH, ...Show All
