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

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

r3n

Member List

MeetJayBlack
Gary Winey
FinnErik
Pablo Alvarez Jalon
Paul M Manson
dragoncells
progames25
deen
randomblink
SuranaSaurabh
Midnight Conjurer
i3tech
DiabboVerdde
su45937
rykk
RPalmer
PiyuGupta
VoiceOfExperience
Xiaobo Gu
Danny_W
Only Title

r3n's Q&A profile

  • Visual Basic Big buffers for GZipStream

    Hi, im using the following code to compress a file into a memorystream: Dim zStream As New MemoryStream, buf(fileSource.Length) As Byte Dim zipper As New GZipStream(zStream, CompressionMode.Compress, True) fileSource.Read(buf, 0, fileSource.Length) zipper.Write(buf, 0, buf.Length) The problem is, that if the file is about 10MB, then my application will utilize up to 10MB for the zStream, which is why I would like to split the operation up into chunks, so i could write to a file, as the operation goes on. I want to read i.e. 10K's of data from the file, compress it, copy the zStream to a storagebuffer, and clearing it while performing storing operations from the storagebuffer when it reaches i.e. 32K. Is this doa ...Show All

  • SQL Server Log shipping

    Can stand by server in log shipping host production database used by other applications if yes, what is the effect of log shipping on other databases There is a certain amount of load on the system due to the work involved in applying the transaction logs, but this should not be overwhelming. Obviously this all depends on the specifics of your configuration and workload. Other than competition for system resources, there should be no issues with this, and it is a common setup. ...Show All

  • Visual C# Problem with Registry reading..

    I am using Windows Vista now and developing a Registry code in C# but i was surprised why when i use this code to SetValue: RegistryKey ping_registry_key = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Jassim\\ping-to-ip", true); ping_registry_key.SetValue("ip_address", txtIPAddress.Text); it saves the data under this key: HKEY_CLASSES_ROOT\VirtualStore\MACHINE\SOFTWARE\Jassim\ping-to-ip instead of: HKEY_LOCAL_MACHINE\SOFTWARE\Jassim\ping-to-ip The message I'm replying to is about as close as I found to being relevant to my question. The referenced page in the MSDN library is .NET centric and this question is specific to an application I'm responsible for which is not based on .NET. I've been unable to locate a similar p ...Show All

  • Visual Studio Express Editions Microsoft's Web-based registration fails for VS 2005 Express

    September 7, 2006 Visual Studio 2005 Express only runs 30 days without registration. Registration page fails to login with an existing Passport account. Registration page fails to login with a newly created Windows Live account. Registration information page provides no option to register. The error message from the Microsoft registration page reads: "The Microsoft Passport Network is unavailable from the site...." We are running only valid, registered Microsoft software on a nearly new computer under Windows XP Pro SP2, with all upgrades. We have no known problem with any other software or Web site. Registration page entered from Visual Studio 2005 Express -- https://login.live.com/ppsecure/secure.srf lc=1033&id= ...Show All

  • Windows Forms IList itemsByProduct = new ArrayList();

    hi all, whats the use of declaration in c# IList itemsByProduct = new ArrayList(); can anybody explain me the technical specification and use of above declaration help me..... IList is an interface, and it is generally considered good practice to code to an interface rather than an implementation. This allows the internals of the method to be hidden from the user. Later, if it is discovered that another type of List would be better, the internal implementation can be chanced without the calling programs need to be aware of this change. Moreover, this thread is the same as http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1062544&SiteID=1 Please avoid posting a same question ...Show All

  • .NET Development Can you push files onto a server in c#?

    I am trying to upload a file using the HttpWebRequest class and the put command but I must admit I am a little new at it so I am not even sure if I am going about this the right way or not here is some code that I have written to try and get the file up to the server try { HttpWebRequest uploadRequest = ( HttpWebRequest ) WebRequest .Create(uploadUri + @"/" + fileName); uploadRequest.Method = WebRequestMethods . Http .Put; requestStream = uploadRequest.GetRequestStream(); fileStream = File .Open(fileName, FileMode .Open); byte [] buffer = new byte [1024]; int bytesRead; while ( true ) { bytesRead = fileStream.Read(buffer, 0, buffer.Length); if (bytesRead == 0) { break ; } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. mesh not rendering

    I set up my camera matrix to look at the origin. Then in my render loop I transform to the cameras matrix d3d->GetDevice()->SetTransform(D3DTS_VIEW, camera.GetViewMatrix()); begin the scene and set the render state. d3d->BeginScene(); d3d->GetDevice()->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME); then transform to the meshes matrix d3d->GetDevice()->SetTransform(D3DTS_WORLD, m_Object->GetMatrix()); and render the mesh m_Object->Render(d3d->GetDevice(), &meshes[m_Object->GetMesh()]); end the scene. nothing shows up on the screen, I took a look in the debugger and everything is positioned where it should be, is this not the proper way to set up the render loop. ...Show All

  • Windows Forms Height limit

    Hi all I am using C# in VS.Net 2005. I have found that I cannot set the height of a form greater than 1036. Does anyone know if 1036 is absolutely the maximum for a form's height or any way to change the limit Thanks, Yes, you've hit it on the nose - the designer limits the size of the form according to the screen resolution. I ran into this problem several months back when I had the same issue you did - developing on a screen with a lower resolution than the monitor I knew it was going to sit on. I never did figure out WHY it did it, only that it does it. I suppose the rationale would be something like "Well, you can't actually SEE the part of the form that's larger than the screen, so why would you want to design it ...Show All

  • SQL Server Silent install new SQL Express instance via MSI

    I'm currently building an MSI to install SQL Express and want to install as a new instance, not the default instance, and not into the SQLEXPRESS instance either. I saw the package.xml for Express in my VS Studio install. How would I go about using this Or would I have to modify the MSI via Orca or something I hope not. Wouldn't have a clue where to start. In short, regardless if there is already an SQL Express instance on the machine or not, I need to silently install a fresh new instance of the server engine only, no client tools except sqlcmd.exe I have seen that MS would advise that everyone use the SQLEXPRESS instance but I don't agree with it. I don't want other application installs trampling over my server settings and I do ...Show All

  • SQL Server FK Position

    Does it make any difference where we define the FKs in a table I mean, do I speed up the query if I define it as the second field or the last one What about the other fields, the ones that are not FKs, but are used as filters in a query Column position is virtually meaningless in defining PK's. Column position is virtually menaingless except: 1. In UNIQUE and PRIMARY key constraints, and all indexes, order of columns has meaning. 2. In relatively rare cases, order of column conditions in a WHERE clause is involved (and only when the criteria is so large as to make it impossible for SQL Server to check all possible uses in a timely manner) The position of a column in a table has no little if any bearing on performance, as ...Show All

  • Windows Search Technologies WDS 3.0 and MS Outlook

    I just reinstalled my computer and unfortunatly before i installed WDS i didn't install MS Outlook and now i don't have that need "search toolbar" up there with my other toolbars. Now i was wondering if it is possible to have that done manualy Please help if you can! Are you running Outlook 2003 w/ Live Toolbar installed If you do, click on Toolbar's options from your IE and go to Install button. ...Show All

  • Visual FoxPro Indispensable books for VFP-9 Users ?

    Having searched the web I've seen samples of excellent book and code-examples but am not sure which remains best for a mediocre (beginner-intermediate) VFP-9 programmer/enthusiast trapped in the boondocks of Albertville, AL. I am interested for artistic reasons … VFPX (which seems ahead of its time) seems promising in graphics for VFP-9, the rest of VFPx might be too advanced for me. I can't find but a very few VFP-9 books ( www.hentzenwerke.com ) that seem to apply to my level; Universal Thread and Fox-Advisor have been helpful but difficult to sift (for me) What monumental books do any of you conclude are inspiring / indispensable *favorites* (at my level) I've recently become spell-bound by samples of older bo ...Show All

  • .NET Development connections aren't closed and extra connections are opened

    We have an application written for windows CE devices in VB.net 2005. It uses webservices to get it's data. First we posted the question to de forum for smart devices http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=778060&SiteID=1 But their we came to the conclusion that it is something server side. So here is my question. With less then 5 devices we don't have problems. Only with more devices we get connection problems. We checked the number of connections and normally when we connect with 8 devices we get 8 connections. Only when he access a certain webservice (which takes long to execute) with the 8 devices almost at the same time we get 8 extra connections, these connections stays open till we close the form calling the we ...Show All

  • Windows Forms Control crashes when using Windows Classic Theme

    Hi, I have a control that is using a custom tree view, the problem that I am having is that when using the 'Windows Classic Theme' in XP (i.e. visual styles are turned off) I get the following error: Visual Styles-related operation resulted in an error because no visual styles is currently active. ************** Exception Text ************** System.InvalidOperationException: Visual Styles-related operation resulted in an error because no visual style is currently active. at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part) at System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor(String className, Int32 part, Int32 state) at System.Windows.Forms.VisualStyles.VisualStyleRenderer ...Show All

  • Windows Forms Validation of fields in form

    Hi I am trying to do the following. I have a form (VB visual studio) whis has 70 fields. I have almost 180 validation about to implement on that form. Any one please let me how I can best implement 1. Am I able to create dll file and put all validation, so when validation triggers, the field will check the necessary dll file. ( I am not sure I am right or not also I am new for this language) 2. Or Do I have to put all validation in the form it self Or any other effective way to do it . Thanks in advance Hi Thank you very mush your answer is very helpful. So I am going to create class files with validation and USE them in the form.I hope it is not slowing down the application performance. ...Show All

©2008 Software Development Network