gdvl's Q&A profile
Visual Studio 2008 (Pre-release) Exception with maxConnections > 10
A console application is the testing host of my WCF service. I tried to increase the maxConnections value of the netTcpBinding for the service enpoint, from the default value of 10 to 100 (but the problem occurs with any vaue higher than 10). <netTcpBinding> <binding name="netTcpBindingConfiguration" listenBacklog="10" maxConnections="100" portSharingEnabled="false"> <reliableSession enabled="true" /> <security mode="Message"> <transport clientCredentialType="None" /> </security> </binding> </netTcpBinding> At the ServiceHost.Open I get this exc ...Show All
SharePoint Products and Technologies Why need Form Server 2007? Thought WSS/MOSS covers that kind of funcationalities
This is probably not the ideal place to ask this question but I'm just not sure what Form Server 2007 is for. I admit that I have not spent any significant amount of time looking into it. My very limited knowledge about it says it's built on top of WSS 3.0. I'm not sure what that means. I guess I'm trying to find out what "additional" functionalities Form Server provides that the OOB WSS/MOSS don't already provide, and the compelling reasons why it's useful in the business world. Form server is basically a MOSS component (for the enterprise MOSS version) that allows you to publish infopath forms so that users will be able to view them as web forms instead of installing the infopath client. Its ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Blue Screen of Death or System Restart
I have XNA installed on my home computer, and on my laptop, and it happens rather often (a few times a day) that when I try run the project, or click the Save All button, I get a system reboot or a BSOD. It happened once too when I tried to move a file to another folder, in the Solution Explorer. Since it happens on two different computers, I was wondering if someone else has had the same problem. Any known bug/solution Thank you! Maybe it's not the BSOD but the XNA default Cornflower blue (I think David Weller calls this the "Blue Screen of Happiness") running at full screen ;) Yeah, this does seem a bit odd that he's getting the same behavior on both the laptop a ...Show All
Microsoft ISV Community Center Forums VBA registry interface
I would like to be able to write to and read from the registry given a specific address in the registry to write to. Ultimately, I want to be able to distribute a ms excel program with the understanding that it is a 2 week trial and I would like to enforce that in some way where it is not easily gotten around. I would also like to put a check so that the customer does not distribute the spreadsheet to other people. If there are other ways of doing this other than interfacing with the registry that would work well, I would be more than open to suggestions. What about the VBA keywords: GETSETTING and SAVESETTING which saves values in the registry. example: GetSetting(application,section, key, strDefault) or SaveSetting appli ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Storing game data in database
I am a casual programmer and have recently, since express was launched, started using SQL databases in my app. These have been very convenient to store and manage datatables etc. I understand that with XNA we can also access other VS components, such as networking, but these components might not be available on the Xbox. Is database integration a purely VS component or can we use it for Xbox applications as well Jim Perry wrote: What would you need a database for on the 360 Big tables of data :) Specifically, large tables of information which can be queried, sorted, perhaps even joined, but not necessarily in real time. The application I was hoping to use it for was AI. With a lightweight database you can have ...Show All
SharePoint Products and Technologies Where can I download the wss12.xsd file?
I am trying to edit a .webpart file and would like to add the schema to the properties for the file in VS 2005. However, in my 12 hive directory there is only a wss.xsd file and no wss12.xsd or anything resembling that. Several forum posts make references to the wss12.xsd file but I can't find it on the web anywhere. Also, I have installed SharePoint 2007. That would be fine except that the wss.xsd does not contain a schema for the .webpart file and other schemas for the deployment. Do you know of any file that has the schema for webpart files ...Show All
Visual Studio 2008 (Pre-release) ControlTemplate.Storyboards
What happened to ControlTemplate.Storyboad I am reading a book that uses it but VS2005 will not let me use it Did it change names or something in a release you can use storyboards like this < ControlTemplate.Triggers > < EventTrigger > < EventTrigger.Actions > < BeginStoryboard > ...Show All
SharePoint Products and Technologies LOL: No Knowledge about Knowledge Network
Just thought it was funny that the "Knowledge Network" had no posts and thus no Knowledge about it :-) Steve, Agree completely with you... very nice product and a nice add in to your search capabilites. Sizzle, Im not sure on the exact date of RTM so to speak but with regards to the Technical Preview statement. Yes its true they have backed away from a full blown support model for this release but..... and this is a good but.... I have been working with this product for some time now and I have never encountered any issue on the server side. It sits very nice and quietly and does what its supposed to do. Very little is needed in the way of support for this from what I have experienced. So the question is... do you t ...Show All
Visual C# C# Events
Hello, Sorry for the ignorance that I am showing but believe me when I say that I have spent a lot of time searching for the answer. I am migrating from vb6. I need to write code for a mousedown event. I placed a picturebox(PB1) on a form and then doubleclick to add code. I add private void PB1_MouseDown(object sender, MouseEventArgs e) { //dostuff } but this does not capture any events. What I am doing wrong. Also I cannot find anywhere that defines how all these events should be called. In visual basic, I just select the desired event from the dropdown list at the top/right. I see that VB.net has the same functionality. Is there a similar trick in C#. the dropdown only shows the current defined functions. Once agai ...Show All
Windows Forms How do you save size and position of windows form?
Hi everyone, I have a question. On almost all win. apps. when you close the form and reopen it again it remembers the size and position on the screen. Is there a property in the IDE to make your form do that or do you do that programmatically If programmatically can you maybe point me to an example Thank you very much Hi, This should get you started, http://www.google.co.uk/search hl=en&q=save+app+settings+c%23&meta = HTH, James. ...Show All
SQL Server How to import Pervasive Database into SQL Server 2005
Hi I have tried to import Pervasive Database to SQL Server 2005. I am not getting any option in Data Source for Pervasive So I tried following I have Provided the following Connection String to SQL server Import and Export Wizard (in .net framework data provider for ODBC) Connectio String: Dsn=DEMODATA;Driver={Pervasive ODBC Engine Interface} DSN: DEMODATA Driver:Pervasive ODBC Engine Interface but i m getting error that "Can not get supported data types from th database connection." Can you please look in to it and tell me possible ways by which I can import pervasive Database into SQL server 2005. and let me know if there is any other tool by which we can see "Pervasive ODBC Engine Interface& ...Show All
Windows Forms C++ Drag and Drop
I know there have been lots of questions asked about this, but I can't see any that answer my particular one. I have pictureboxes that I want to be able to move round a panel freely - they contain bmps. I have implemented the dragdrop events of the panel like so: private: System::Void pnlDragDrop_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { PictureBox^ picPole = safe_cast <PictureBox^> (sender); picPole->SetBounds(posx, posy, picPole->Width, picPole->Height); } private: System::Void pnlDragDrop_DragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { e->Effect = DragDropEffects::Move; } private: System::Void pnlDragDrop_DragOver(System::Object^ sender, System: ...Show All
Visual C# Getting started with Business objects
Hi guys, i m trying to get started with Business Objects, but i m a little bit lost here.. hope you guys can help me out. So far all the tutorials i read on the internet just show you how to make an "employee" or a "product" class, coding that is very simple, and i don’t have any problems using them and even binding them to Windows Forms using BindingLins<T>, etc... i ve been testing it out and it works fine. But right now i m trying to make something that have some relations, and i cant figure out how i am supposed to do it, what i m trying to do is a simple "Order" class that is related with a customer and some products... something like: Order Customer Products So, could you guys help me out with this ...Show All
.NET Development How to upload a file to a web folder
I am using My .Computer.Network.UploadFile and it actually get the window with the progress bar but at the end I get the error "(405) method not allowed". I also would like to check the date in which a file in a web folder was modified. Should I instead use httpWebRequest if so, how should I do it. I've not found a helpful sample for this case. I have used the right path, user name and password; I have checked that the server is available by dragging the file within the Windows Explorer window and it copies the file into the web server. I also tried changing the address from "http://" to "file://" because in Internet explorer it would display fine that way. Any tips, suggestions, links would ...Show All
Visual Studio Tools for Office Action Pane is disabled when I save the document and reopen.
Hi, Please any one can let me know what is the problem with Action pane when I save and reopen the Excel document. Action pane and its controls get disabled when I perform following steps. 1) Open Excel document,Populate some data and save to hard disk. 2) When I reopen and click on Action pane controls, all the controls gets disabled and no events are fired. Do I have to do some reinitialization for the action Pane Regards, Uma Kadagi. Hi Uma <<Since I was not using the Sheet2 and Sheet3 in my project and was deleting those two on workbook open event.Now I am just hiding those two sheets.It works fine for me now. But, I did not get how exactly these are causing to disable the Action pane.>> ...Show All
