Software Development Network Logo
  • Microsoft ISV
  • Windows Vista
  • Visual C#
  • SharePoint Products
  • VS Team System
  • Audio and Video
  • Game Technologies
  • Visual Studio
  • Visual C++
  • IE Development
  • Smart Devicet
  • Visual Basic
  • SQL Server
  • .NET Development
  • Visual FoxPro

Software Development Network >> reichard's Q&A profile

reichard

Member List

Osiris43
CJW99
incendy
Meera V
JCDS
RTodd
The Samster
Carl Daniel
Peca55
Alejandro B
John Oliver (UK)MSP, VSIP
Sabre D
grahamwookie
Thor78
nate-d-o-double-g
Georgedinu
mbieweng
Lama Karmi
KrisMcg01
Iron_Mala
Only Title

reichard's Q&A profile

  • Visual C# ThreadPool without aviable threads???

    Exception: There were not enough free threads in the ThreadPool to complete the operation This exception appears at perform multiple asychronous WebRequest petitions to a webservice, The .GetAvailableThreads return 0 in wt parameter, then throw a exception. I make a shoddier code to avoid this problem : int wt, cpt; System.Threading.ThreadPool.GetAvailableThreads(out wt, out cpt); if ((wt < 200)||(cpt < 200)) { Debug.Print("Modificando ThreadPool"); wt = 300; if (cpt < 100) cpt = 300; ThreadPool.SetMaxThreads(wt , cpt); } The snippet code that throw the exception is: WebRequest request = HttpWebRequest.Create("http://182.0.20.12/CSWS/Service.asmx/HelloWorld"); request.Method = ...Show All

  • SQL Server distinct count with multiple partitions?

    We analyze much of our data using distinct measures. Some of the underlying sources - i.e. daily page views are heavy and have millions of rows a day. Because of this I've created daily partitions to only process the incremental data that's arrived. However, I'm curious - how does distinct count perform when it needs to rollup over multiple partitions IE Say it's Dec 25th, and I have 25 unique partitions for each day of December thus far. Internally, how do the distinct measures correctly accumulate the unique instances of my measure Are there any significant performance concerns to be aware of Distinct Count measure will work fine with multiple partitions. AS keeps the distinct count values inside the ...Show All

  • Windows Forms click once? or maybe not

    Hey guys, please someone help, here goes: program all created and deployed using the built in installer. But heres the problem: It installs off the website on my mates computer and mine, but some other pc's running xp, when i click on install from my website displays the xml document code instead of installing the product, obviously this kinda install process is not all that good if it only works on a certain percentage of computers, the only thing I can think of this is that a certain client has not certain updates installed on there pc, but still this is not handy situation for me, Then I thought ahh could be because they dont have .Net framework 2.0 installed, But that wasn't the case either. Is there a way of sorting this or s ...Show All

  • Windows Forms How can I emmbed a treeview control into DataGridView

    How can I emmbed a treeview control into DataGridView Maybe this sample by Mark Rideout will help. ...Show All

  • Windows Forms Adware?

    Whenever I publish a program (VB2005), my browser (FF) comes up with the file location: C:\Documents. It also brings up AND.com and Settings.com web page. My question for you is... is this related anyway to VS2005 Or is it something more sinister Thanks. THis is not OFF topic. This is related to and/or cause by VBN because it only happen whenver I publish a program. I understand, its unfortunate it happens with one or the other and it is a known issue I believe but not relating to ClickOnce or VB.NET but rather the toolbar or the web browser. Something just triggers it, which is silly for the web browser to pick up on it. have you tried it on a different machine just to see what happen ...Show All

  • Visual Basic Fixed Width Text File Into SQL Database

    Any ideas on how to import a fixed width text file into an SQL database Write a conversion application which reads the values in from the text file. I'd suggest looking at the textfieldparser class http://msdn2.microsoft.com/en-us/library/zezabash(VS.80).aspx Then you can use ADO.NET to execute a Insert SQL Statement using the values read in from the text file. The following shows how a simple ADO.NET command object can be used to execute a SQL Insert Command http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/ExecuteCommand.aspx Thats just the general idea of how to implement a solution.      Basically its breaking it down into two actions reading a line from the text file and updatin ...Show All

  • SQL Server Problem in Mail Sending through Windows Application

    Hi, I have made one SP(A) for mail sending which called within another SP(B). If i am executing that SP(B) in query analyzer then SP(A) ia also executed , while i am executing SP(B) through some WIndows Application although SP(A) is geeting allthe parameter but not executing. SP(B) is being used for inserting some values in a table.And i want to mail few of those inserted value to be mailed by SP(A). I have tried it by making "insert trigger " . But same thing when i executing SP(B) in Query analyzer the mail is going means SP(A) is running. But when i am inserting values through windows applicaton.Values are inserting but mail is not going. Thanks in advance. Sanjay Tiwari ...Show All

  • SQL Server min server memory option and memory paging

    I have problem with sql memery usage. In same case sql paging the data to virtual memory on disk and relese physical memory. And if SQL relese physsical memory, he dont consider min server memory (MB) option (4012MB), after relesing sqlserv physical memory usage is only 500MB. And after sqlserv restart his memory usage is only about 500MB. Perfmon counters: Pages/sec 1450 %Commited Byte in Use 43% %Usage Total Page File 87% Available MBytes Memory 6480 MB My server is: 9.00.2153.00 SP1 Standard Edition (64-bit) Server memory 8GB sp_configure: awe enabled 0 1 0 0 min server memory ( ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Normal Map colour directions.

    Hey, I've been tyring to track down a couple problems I've been having with rendering normal maps. First of all, I have these shaders that I have programmed previously that take a tangent space normal map and function 100% correctly. If I move those shaders and normal maps onto an object in Game Studio I find a number of issues. The normals in the normals map seem to receive the light from the wrong directions, the flat surface areas are lit correctly though. So I was wondering if which directions the normal map need to be, Red left or right, Green up or down. I've tried a number of different arrangements and orderings of my Normal, Binormal and Tangent matrix. The second problem is I find that the Binormal and Tangent data changes d ...Show All

  • SQL Server Please help: object reference not set to an instance of an object

    I have created a new local website from the "Personal Web Site Starter Kit" template. I got an error message when i double click on the database file: "Object reference not set to an instance of an object." I cannot open Personal.mdf in VS2005. I have not tuch anything. SQL Server 2005 Express is running in bacground. What is wrong This sounds like something is not registered correctly in Visual Studio. The ASP.net forums is a better place to ask questions about ASP.net and Visual Web Developer. You can find all the forums at http://forums.asp.net/ and the forum that is specifically about SQL Express in VWD at http://forums.asp.net/54/ShowForum.aspx . Mike ...Show All

  • Visual Basic save a file with unicode name in visual basic 6.0

    I am trying to save a file with name in unicode with .txt extension and getting "Permission Denied" message. The code I am using is as follows: Private Sub Command1_Click() Dim InputString As String Dim sHex As String sHex = "D:\" sHex = sHex & ChrW(&H30A2) InputString = sHex & ".txt" When i use ChrW(&H30A) , it works fine. Please suggest. Regards, Arjun VB6 questions should be posted here: http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx dg=microsoft.public.vb.general.discussion&cat=en_us_ab067bc0-bda5-4921-a1ec-e76402873945&lang=en&cr=us ...Show All

  • Windows Forms Can I generate a managed resource DLL at run time?

    Reading through the .NET 2.0 documentation, I get the feeling that the answer is yes, but I can't find the steps I need. I am developing for Windows Mobile, and have a need to provide two different types of multi-lingual support. One is typical translation from English into other languages, which I can cope with quite easily using all the design time features of VS 2005. The other kind of support I need is not so much for the language in use, but rather the terminology. The system I am developing 'plugs in' to several different packages, and we would like the screens on our mobile application to use terms that match the clients' existing back-end systems. For example, what one product calls an 'Account', another will call a 'Clien ...Show All

  • Visual Studio Express Editions image with grid coordinates?

    Hi, Is there any way to define an image with grid coordinates in order to use the mouse over event Ken "....a set of coordinates, which defines a small box area "" Mouse down gives a discrete x-y pair related to something... usually a control, not small boxes.... ...Show All

  • Visual Studio Express Editions problems with 'enumdisplaydevices' API function

    For some reason I can get .devicestring information(it displays my video card name), but nothing else. I need to get .devicekey information, but it returns nothing. I don't see how it could give me the devicestring info and nothing else here is the code: http://www.nomorepasting.com/paste.php pasteID=74737 Any ideas people using vb6 say the same code(with vb6 syntax) works for them and they get all the data. poseyJ, According to the demand that to get the device key information, I recommend you to read two articles: 1. Troubleshooting Device Driver Issues by Using the Driver Information Database When you install a hardware device on your computer, the device passes information through t ...Show All

  • .NET Development asm file in 64 bit project

    I have a project we compile in 64 and in that project i have 2 .asm file The problem i have is that , when i compile the project , only one asm file is compiled and the other one is ignored.... sometimes both are but most of the time only 1 asm file is always compiled... then to compile my project i have to manually compile the asm file for the link process to work...   very odd behavior.. someone ever got that and know or to fix that because all my nightly build fail half the time just because of that ... and merging the file is out of question due to NDA.   thank you ...Show All

©2008 Software Development Network