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

Software Development Network >> CESAR DE LA TORRE's Q&A profile

CESAR DE LA TORRE

Member List

Bfundy
Troy Lundin
Andrew Sears - T4G
Julian V
JGttttt
isaacb
thomp89
Gary Trembath
Claudia Chorfi
grouper
EternalStudent
Trashey
Tommmy77
Erick-Flores
Lejing
jkas
a3b2c1r46
R.D.
Guruprasad H R
GillRanjit
Only Title

CESAR DE LA TORRE's Q&A profile

  • Visual C# C# Threads

    Hi, I have a problem with thread and i'm hoping someone can help me. I start a thread with the following code... Thread m_NewThread = new Thread(new ThreadStart(DoWork)); m_NewThread.Start(); The threaad starts find and executes the code within DoWork, for example: private void DoWork() { ... //Finished work so show thread finished ThreadFinished(); } Again it executes the code within ThreadFinished, for example: private void ThreadFinished() { .... //Thread has finished so show finish form and close frmFinished f = new frmFinished(); f.Show(); this.Close(); } Now this is where it goes wrong. Stepping through this code it show's the finished form as you can see it in the taskbar b ...Show All

  • Community Chat IE7 Vulnerability discovered.

    Hi. A vulnerability has been discovered in Internet Explorer, which can be exploited by malicious people to disclose potentially sensitive information. http://secunia.com/Internet_Explorer_Arbitrary_Content_Disclosure_Vulnerability_Test/ What do yo think about this Regards. I think that given the stage that IE7 is in its almost acceptable - why Hear me out - it's in RC, release candidate meaning not the full shbang bug free version - when you are at such stages of developing software, its almost or near perfect but not exactly. Same with Vista and Office 2007, the 2 major upcoming products, there are still a few bugs, even security issues but working towards them. Same thing for your own software, you may have a good few ...Show All

  • SQL Server how to set integer value in buffer

    I am trying to set a decimal value to the pipelinecolumn buffer, but it doesnt get set, and the value is NULL. Here is the portion of the code of what I am trying to do: if (columnInfos[x].colName.EndsWith( "_CRC" )) { int a; a_cmp tst = new a_cmp (); a= tst.a_crc32(inputbufferstream); this function returns a integer value buffer.SetDecimal(colInfo.bufferColumnIndex, Convert.ToDecimal(a)); } Please let me know how to set a decimal value in the buffer.   Do you want to set an integer or do you wanta decimal. Subject says one thing, text says another. An agnostic way of doing this is to just assign direct, e.g. buffer[colInfo.bufferColumnIndex] = a; ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What is a good type of game to start with?

    So when XNA Studio Express comes out I and many other budding(a.k.a. newb) programmers will flock to our PCs to make our own games, but my question is what is the best type, or genre to begin with Would it be a good idea to start 2D, or would jumping into 3D be an option I want to start off with somthing that I can ease into and not get overwhelmed by anything too hard. Thanks for any help you more experienced programmers can give me. Why bring networking into it You can do multiplayer on both platforms. The specific implementation is left to the reader. ...Show All

  • Visual Studio Express Editions Transparent BMP

    I would like the user to be able to click on one (or more) colors in a .bmp image, which would cause that color (or those colors) to become transparent in the image. The only transparent .bmp color code I have seen is where the programmer specifies that a certain color in a .bmp image will be transparent, which doesn't help to solve my problem. I am very new at this, and any help will be greatly appreciated.   I think this how image processing people would do it except they wouldn’t do it in VB. It includes a textbox (supplied dynamically) for you to specifiy the percentage latitude. These are typically small values. Three precent will make transparent most of the tiger’s stripes. Since the tig ...Show All

  • Visual Basic Save

    How do you make the text in a RichTextbox save with SaveFileDialog Thanks matt you can show the SaveDialog: Dim theSaveDialogBox as new SaveFileDialog() theSaveDialogBox.Filter = " filters here " if theSaveDialogBox.ShowDialog() = System.Windows.Forms.DialogResult.OK then Me.theRichTextBox.SaveFile(theSaveDialogBox.FileName. RichTextBoxStreamType.RichText) end if thats all there is to it! The filter for the SaveDialog is just for the file formats your application can save to....more info: http://msdn2.microsoft.com/en-us/library/system.windows.forms.savefiledialog.aspx ...Show All

  • Software Development for Windows Vista Changes to WMI on Vista that would prevent custom WMI Provider DLL from loading?

    I have a WMI Provider DLL that I devloped a couple of years ago that is used to gather some extra system info and put it in the CIMV2 namespace. It has worked fine on 2000 and XP, but when I try and use it on Vista it doesn't appear to even be loading. MOFCOMP on my MOF file runs OK, as well as regsvr32 with the DLL. I can see the class in the WMI Browser, but no istances of my WMI object. The DLL is based on the C++ framework code generated by the "Microsoft WMI Code Generation Engine" from the WMI SDK released a few years ago. I have tried turning off UAC in Vista but that doesn't seem to make any difference. I haven't been able to find any specific info about why the WMI Provider DLL woudn't work on Vista. Are there any specif ...Show All

  • Visual Studio Tools for Office Add method of Workbooks class failed

    The following code works fine with executed stand alone, but errors when the hosted within IE. The workbook with the VSTO Customization are deployed to a Web Site if the user opens the workbook with in IE (as opposed to saving the file) the following code fails. If the file is saved locally the code works. CODE: Dim wb As Excel.Workbook = _workBook.Application.Workbooks.Add(Microsoft.Office.Interop.Excel.XlWBATemplate.xlWBATWorksheet) ERROR TEXT: Add method of Workbooks class failed ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x800A03EC): Add method of Workbooks class failed Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProx ...Show All

  • Visual C++ How to launch an App in a ''separate context'' programatically ?

    Hi, I'm having trouble to launch programmatically the process HH.EXE ( with CreateProcess( ) or ShellExecute( ) from another appplication). I 'm having the same error (0, the operating system is out of memory). So, I'm suspecting that the parent process is not able to reserve the necessary amount of memory for its child (HH.exe). Then, I think the only solution is to create the process(HH.exe) in a separate context (because when I use " START--> Run--> Open " to launch HH.exe, everything works well). But Actually, I don't how this can be done. Does anybody know to create a new process, but in a whole new context, separate from parent (programmatically) thanks. I marked the previous post since you ...Show All

  • Visual Basic DSL Connection mahes problem with webservices

    I cann't run my webservices on some DSL connection it gives operation time out while I'm reading my webservice from my local windows application Thanks friend, But The webservices are sooooo light and also web request, it works smoothly on dialup connection, but the problem seem as firewall, but it is not. I had changed the content-type of the web request from myHttpWebRequest.ContentType = "application/x-www-form-urlencoded" To myHttpWebRequest.ContentType = "multipart/form-data" I got the respone, but because I changed the content-Type I got the wrong result, when I return the type to "application/x-www-form-urlencoded" again, I can recieve the response again. so what is the pr ...Show All

  • SQL Server Problem with temporary table and ado.net

    hi all i have created a store procedure that works fine on sql server 2005 exprees, it uses the temporary table #TEMP...the sproc is something like this: select name into #TEMP from TableName ...some operation with temporary Table #TEMP drop #TEMP So the problem is : when i try to call the store procedure from a dataAdapter from a visual studio project i have the following error: name of object '#TEMP' not valid. ....who can help me to solve this problem Did anyone find an explanation/solution for this I'm having the same problem. Apparently VB2005 doesn't recognise temporary tables even if they are defined (and closed) inside the stored procedure.... Any help ap ...Show All

  • .NET Development scavenging?

    What is scavenging When server running your ASP.NET application runs low on memory resources, items are removed from cache depending on cache item priority. Cache item priority is set when you add item to cache. By setting the cache item priority controls the items scavenging are removed first. ...Show All

  • Visual Studio 2008 (Pre-release) Problem locating ResourceDictionaries defined in external assembly

    Here is a setup: First project, A.B.Common includes two ResourceDictionaries defined in two separate files: Resources\First.xaml Resources\Second.xaml Build actions for those files are set as EmbeddedResource. This project produces A.B.Common.dll Also there is another project, A.B.Controls where custom controls reside. That project references A.B.Common . Part of this project is generic.xaml file, themes\generic.xaml . This file references ResourceDictionaries defined in A.B.Common : ... <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/A.B.Common;Component/Resources/First.xaml" /> <ResourceDictionary Source="/A.B.Common;Component/Resources/Second.xaml" /> </ResourceDictio ...Show All

  • Visual Studio Express Editions help parsing a varing space delimited file

    I am having some trouble parsing a file that has varing spaces between the data. I'm using the textfield parser and setting the delimiter as a single space. (" ") Some of the code is below. The problem is the spacing is not a constant and the data ends up in different fields based on the spacing. Is there a way around this Can you set the delimiter to use a varing length amount of space a only one Data Example: 9/28/2006 534 23 12/28/2006 235 25 Code Snip: Dim delimiter As String = " " 'Space seperator Using parser As New TextFieldParser(filename) parser.SetDelimiters(delimiter) parser.TrimWhiteSpace = True 'doesn't do much While Not parser.EndOfData ......yo ...Show All

  • SQL Server SSRS SP2 with SPS 2003

    I see all of the great new features for using SP2 with MOSS 2007 but what can I expect to get if we are still using SPS 2003 TIA Dean ...Show All

©2008 Software Development Network