MTV's Q&A profile
Windows Networking Development Vista RTM can't open new socket.
Started here . Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all existing internet-connected programs (WLM, Skype) are running. PC even is accessible via RDP. No any entries in EventLog relating to any problem with sockets. "Event 4226" appears in absolutely different time, not in time when connection was blocked. Only reboot or (sometimes) "Network Connections" (and ICS) service restart can help to revive network back to live. This problem is accepted by many people (see post on Channel9). Any settings in registry ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox Live Arcade
Do any of you reckon that it's possible to make a game using the XNA express framework, and then get it published (by MS or otherwise). I think, looking at the standard of games on Xbox Live Arcade, that I can make a much better game than anything there. What's to stop "underground" gaming or is it "indie" gaming from having some really great titles and distribute them themselves Is that against the EULA ...Show All
SQL Server ATL & MFC vs SSIS
Hi All, I'm trying to call ATL COM component with MFC support from SSIS Custom Component, but I can't show netiher the GUI (MFC Property Sheet) neither to call methods from my ATL component. There is no error or at least Inteligense Studio doesn't report errors. What I'm doing wrong Thanks in advance! Regards, Svilen Varbanov Wow, there's really not enough information here to know what's wrong. What errors are you getting How are you attempting to call the ATL code Why The question is really unclear, so the answer will likely be muddled. You should generate a primary interop assembly that you then reference and call in your script. Kirk Haselden Author "SQL Server Integration Services" ...Show All
Visual Studio Wizard extension for mutiproject template
Newbie alert! I'm trying to write a multiproject template. The solution should include 3 projects: a web application, a Web Deployment/MSBuild project (http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx), and a web setup project. From reading this forum and my own experimentation, I've found I cannot do a simple vstemplate/xml solution and must write an IWizard extension. So, my thought is that I start out with a multiproject vstemplate arrangement so that I can still include my non-standard projects in the same archive as my web project--only I comment out my non-standard projects so that they don't load automatically: <VSTemplate Version="2.0.0" Type="ProjectGroup" xmlns="http://schem ...Show All
Visual Studio Express Editions Setting up arrays
hey Guys me again, One more question, in visual basic 2005 express edition how do you establish and set up an array when you want to link many text boxes to the one button... again i have the old book that tells me how to do this but i need the new code as the old is not working.... Thanx heaps for the help guys Newb it depends entirely on what you are trying to do. Lets go with the example of storing the entries from textboxes to an array. you can use an ArrayList for example to store items in the array and retrieve them via the index, and remove/add items, however in order to access them from anywhere within the class, you need to make it a private global scope (Declare it at the top of the class). Example: ...Show All
Visual Studio 2008 (Pre-release) wcf based sample for sync service
Hi Rafik Thanks for the great example. I was actually looking out for a viable solution to implement sync feature with our product. Ours is a health care product and we need to make available the application and the data (partail content) to doctors who go to remote locations to visit patients. I was looking out for various options like SCOAB, SQL Merger Replication, etc.. finally got hold of the ADO.Net sync service, and I hope this would provide me with the right solution to for adoption. I initially had a look at the webcast from Steve, was pretty interesting and then was looking out for samples, which I could run through. then luckily happened to come across your samples, which were of great help. Rafik, do you also have a sam ...Show All
Visual C++ Using VC++ 8.0
Hello, I have a project that was created/build using VC++ 6.0, the project uses a third party library iconnect.lib. I am trying to compile the project using VC++ 8.0 but I get a lot of linker errors - some of those errors are below. Note: the project compiles without errors or warnings when using VC++ 6.0. Can someone tell me what I need to do to get my project to compile/link successfully with VC++ 8.0 Thanks in advance! -Agustin ERRORS: Error 82 error LNK2001: unresolved external symbol __RTC_CheckEsp iconnect.lib Error 83 error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > ...Show All
SQL Server Is it possible to read data from a table with exclusive lock ?
Hello, We currently use SQL Serv 2000 with an ERP application and VB applications. Both system work with the same database & tables but the ERP application seems to put exclusive lock on all tables it needs during processes. So our VB applications are not able to read these data and we receive TIMEOUT error. What can I do thank you Nico hmmm.. "Nico" & "Polleveys".. sounds like I should open up answers for ouzo . Seriously, glad to help, would you please remember to mark a question as "answered" once you are satisfied. It will help others find answers, and allow answerers to move on to other unanswered questions. ...Show All
SharePoint Products and Technologies A web part that is a consumer and provider at the same time.
I have already implemented a provider and consumer ASP.NET web parts and using them in sharepoint. Now I have to send some information from my consumer web part to another consumer web part. Is it possible If not can I handle it using ViewState Thanks I gave it up. Everyone says it is doable as long as the consumer and provider interfaces are different but in practise it does not work. I'd appreicate if you could let me know if you find a solution. Are you using asp.net web part framework or WSS Thanks ...Show All
SQL Server Sum on a many to many cube
I have a cube which totals hours worked by pay codes. Each paycode can be marked as productive, non-productive, overtime or standard, etc.. Paycodes can be marked with any combination of these (certain combinations wouldn't make sense but are allowed). Ex. of data: PayCode Hours REG 1 REG OT 3 NP 2 NP OT 1 NP OT 3 PayCode Type REG Prod NP NonProd REG OT Prod REG OT OT NP OT NonProd NP OT OT So I am trying to get a calculated measure for the OT or NonProd which in this example is 9. But I am getting 13 because of the NP and OT being counted twice. Thanks for the help, Kevin Thanks for all the help on this issue so far. My final question is how can I have th ...Show All
Windows Forms caller Id
I made a program that shows the number of the incomning call when caller id is available. For this i dowload an active-x that detects caller id. I use the model 5633 modem of US robotics. The problem is that the number is not always shown . Even when i make call from the same number it 's not always displayed on the screen. The developer of active-x told me that this is problem of modem or drivers. I updated the driver but the problem still remains. Does anyone knows any better PSTN modem that support caller Id in Greece and to show always the number. Sounds like it might be (I'm not at home where my modem is so I can't check). I get to it via Control Panel, Phone & Modems( ), then dbl-click on the mode ...Show All
Visual C++ How to use system lib such as Winmm.lib
How to use system lib such as Winmm.lib Wsock32.lib Vfw32.lib Wininet.lib MSIMG32.lib Thanks Or place a pragma in your code like this: #pragma comment ( lib , "tapi32.lib") This has the advantage that the code can instruct the linker and the project settings don't need a change. ...Show All
Windows Live Developer Forums Hide a Map Control?
I have been searching the SDK for this one... Is there a way to do this I created a custom code but it didn't work... document.getElementById("MyMapDiv").style.display='none'; John. ...Show All
.NET Development Side by Side Execution
Hello, Please can you confirm whether the following statement is true: If a .Net 1.1 application runs on a machine with both 1.1 and 2.0 runtimes installed, the application will try to run in the 2.0 runtime. In other words, if you don't configure an application to target a specific runtime, it will use the latest runtime installed on the machine. Thanks in advance. any application will use the framewrk it ws built with bcz its code by .net runtime is fixed .. if u run any appli of .net 2.0 in 1.1 u need to configur tht .same for 1.1 ...Show All
Visual C# Creating controls at runtime vice dropping Controls at Design Time???
I'm not so new at C# but I'm still a beginner! I'm very confused about the above subject ... I am a former VB (and COBOL) programmer and, I'm confused as to why or when to drop controls on a windows form and when to create them at run time Are there do's and don'ts for this, or is this feature available for the "hard-nosed" programmer who likes to fully control the app When I wrote VB apps for instance, I would not use the Data control (unless I absolutly had to) because I wanted more control over the data and how it was displayed and edited. Yeah, more coding and work but I knew what was happening when. Any information that will help clear this muddled mind of mine would be appreciated! Thank you Greg ...Show All
