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

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

Cato1969

Member List

harvard_isaac
Mitch Walker - MSFT
constm
sorsh
LT2007
Charltonn
BradyGuy
rrayfield
Ram Pradeep
saju
elianaca
S Nesbitt
Keenah
HARSH_JOSHI
Giminiani
Jiajia
seanslyvinia
Austin Milbardge
Shinny
MyKidsDad_62
Only Title

Cato1969's Q&A profile

  • Windows Forms VB2005 Fill cells in Datagridview from other form

    I have a form called 'frmMainForm' wich only contains a datagridview and 2 buttons: btnSaveAndQuit btnQuitNoSave I also have a form called frmNumber. This form is opened when the rowheader of the datagridview of frmMainForm is clicked. frmNumber contains a textbox where you should enter a number. This is the code I use: frmMainForm visual basic code: Ok...I busted my brain and got a little closer. On the form frmNumber I added the following code: [VBCODE]frmMainForm.WoodsheetsDataGridView.Item(3, intRowIndex).Value = intNumberOfOrders[/VBCODE] This code doesnt work on the frmNumber But it works on the form where the datagridview is. The thing I want is to place the intNumberOfOrders in column 3 of my datagridview when I clos ...Show All

  • Visual Studio 2008 (Pre-release) Intellisense problem

    Hi! I installed Visual Studio to a clean installation of Windows Vista RC2. After installing Linq Preview, I have the known problem of intellisense completion. If I write: ArrayList list = new and then press space bar, intellisense doesn't give me suggestions. Same problem with the override keyword. I usually solved this problem by resetting the environment and by using the uninstall c# ide support script. The problem is that now, if I execute the script, I receive this error: Uninstall LINQ Enabled C# IDE Support was unsuccessful. Some files that need to be restored are currently in use. Is there any workaround I have VB installed and the smart tags functionalities work well. Thanks ...Show All

  • .NET Development The request was aborted: Could not create SSL/TLS secure channel.

    Hi guys, I really hope someone can help me out on this as I'm struggling badly. I've got some pretty straightforward code to make an HttpWebRequest. public static string GetText(string url, int timeout, X509Certificate mrCert) { HttpWebRequest req = null; HttpWebResponse resp = null; StreamReader reader = null; try { req = (HttpWebRequest)WebRequest.Create(url); req.Timeout = timeout; req.Credentials = CredentialCache.DefaultCredentials; req.ClientCertificates.Add(mrCert); resp = (HttpWebResponse)req.GetResponse(); reader = new StreamReader(resp.GetResponseStream()); return reader.ReadToEnd(); } catch (Exception e) { throw new Exception("GetRemoteXML", ...Show All

  • Visual C# Subtracting Times with Date

    I thought this might have been a simple task...I need to subtract 4 hours from the current datetime that is input.  The datetime format is mm/dd/yyyy hh:mm and the hours are a 24 hour clock.  After it's input, I then take and parse this string into a strDate array and strTime array by doing args[0].split('/') and args[1].split(':').  After this is where I try to subtract the 4 hours, but there's a whole lot to account for as in if the hour is 1, you'd have to go to the previous day and if the day is the first day of the month, going back one day would take you back another month, etc.  Is there an easier way to do this   The month is really what's throwing me.  Thanks in advance for the help! ...Show All

  • Visual Basic Error 2004 - Out of Memory - DAO.DbEngine

    When trying to compile my VB4 Application on a computer with more than 512 megs of Ram, I get the message "Out of Memory Number 2004". When I click the "Display the Data Access Errors Collection" it says: Error Number: 2004 Source: DAO.DbEngine Description: Out of Memory My program compiles fine on computers with less than 512 Megs of Ram. What can I do to fix this Thanks for your Help, Dennis Rose This is a forum for VB.Net questions. I'm not sure the best place to look for VB4 help but the VB6 resources should be a good start. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=478161&SiteID=1 ...Show All

  • Windows Search Technologies CAN SOMEONE HELP PLEASE? WDS STILL NOT WORKING

    Hi Everybody, It's getting very frustrating that WDS Beta 2 is still not working for me. It only works from within Outlook 2007 beta 2 technical refresh 2, but i always get " NOTHING FOUND " from the normal Search Deskbar.This while i basically went through all possible settings 100 times and installed, deinstalled and reinstalled the product multiple times, the last two weeks. Also if i install another search engine, like your friend Google or Copernic, it works instantly. Something must be broken somewhere, but everything else on my computer is working fine and actually it's quite a fresh install. Can somebody please make a point about this and help me out Am i the only one with this problem, i can't imagine. Sure, ...Show All

  • SQL Server Can't run dts package job

    I setup a job which call a dts package (I try to call it from file system and from SSIS Package Store with the same result) and it doesn't run. If you take a look from the SQL Server Agent you could see this --->> 2012-06-17 09:01:02 - ! [LOG] Step 1 of job 'prueba' (0x85B4D5E843DB3145A6A1A6A0A43D04F3) cannot be run because the DTS subsystem failed to load. The job has been suspended Any ideas This was happening to people that installed to a drive other than C:. Did you install to a different drive It's a bug in setup. If so, you can fix it by changing the dbo.syssubsystems table in MSDB for the dts subsystem. Look to see where it's pointing. It should be something like this: C:\Program Files\ ...Show All

  • Visual Studio 2008 (Pre-release) Frame doesn't render when AllowTransparency = True

    I created a new project in Blend, added a Frame to the default presented grid, and set the Source to "http://www.google.com". The app worked perfectly. After closing the app, and setting "AllowTransparency" to true on the default root Window causes the frame to be rendered white. The navigation happens, and the mouse pointer changes shapes over links, but nothing is rendered to the Frame. Is there a way to solve this problem I am creating a window with a custom window border that is not rectangular, so I need AllowTransparency to be true on the Window object (if there is another way to do this, any info would be great). It's an educated guess, but Frames displaying html use the ie mshtml engine in a separ ...Show All

  • .NET Development EventLog text repeating 100 times when "%1" is part of data

    Hi, I've run into a problem when sending a certain string to the Event Log using the System.Diagnostics.EventLog class. If the string contains "%1" as part of the data then any text preceeding the %1 is repeated 100 times and and text that comes after the "%1" is repeated 100 times in the Description field of the Event Log. For Example: log.WriteEntry("A%1B", EventLogEntryType.Information, 0, 0); (where "log" is an instance of System.Diagnostics.EventLog) will cause the string: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%1BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB" to be written to the event log. If I use "%10" or "% ...Show All

  • SQL Server fill up spaces with dots in a column

    Hi, I currently have a column in a table with data type char and length 500. However, not every column fills up the entire 500 length, and I would like to fill up the rest of the spaces with dots. Is there a setting in SQL to do this I do not want to use varchar since I want a fixed length with dots at the end. Any ideas Thanks, Alan I can't really imagine why you would have that requirement, it is kinda backwards. If your goal is to display the data padded with dots up to a total length of 500, then I'd suggest that you do use a varchar for storage of your data (without dots). When you want to retrieve it, then you pad it. Something like this; create table #x (mystring varchar(50) not null) inser ...Show All

  • Windows Forms Error launching Clickonce app from intranet

    I have an app which is deployed on an intranet site.  When I try to launch the <app>.application file, I get the error below.  BUT, if I do a RUNAS and run under a admin user of the webserver, the app will launch. Running framework 2.0    Windows Server 2003 Here is the error:   PLATFORM VERSION INFO  Windows    : 5.1.2600.131072 (Win32NT)  Common Language Runtime  : 2.0.50727.42  System.Deployment.dll   : 2.0.50727.42 (RTM.050727-4200)  mscorwks.dll    : 2.0.50727.42 (RTM.050727-4200)  dfdll.dll    : 2.0.50727.42 (RTM.050727-4200)  dfshim.dll    : 2.0.50727.42 (RTM.050727-4200) SOURCES ...Show All

  • .NET Development Web service how to monitor http request?

    Hi everyone, I have a web service running in my host (accepts SOAP requests).... I just want to monitor/read (store the HTTP url) the urls comes from my clients. How to do this in my server side not from the client side. Please help me. thanks Hi, You can do that with a SoapExtension. A SoapExtension is a mechanism provided by ASP.NET to intercept all the SOAP messages that goes to an specific web service. This sample in the MSDN shows how to implement a SoapExtension to trace all the SOAP request/response messages. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemWebServicesProtocolsSoapExtensionClassTopic.asp Regards, Pablo. ...Show All

  • Visual Studio Express Editions Changing the Row Index Pointer in a dataset

    Hello! ITis I again... I'm unsure how to update the index pointer for a row in a dataset table. What I'm intending on doing is searching a column in a table and when the match is found have the datagridview point to that row. Here is my code around the point I'm stuck: Private Sub SearchForItem() Dim FindThisItem = SearchBox.Text.ToString Dim i = 0 For i = 0 To UpperBound If FindThisItem = DataSet1.Tables(0).Rows(i)( "ItemNumber" ).ToString() Then ItemFound = True Exit For End If Next If ItemFound = True Then End If Any help would be most appreciated. Thanks! Well, I'm using the first column of Table(0) of my dataset to store item number ...Show All

  • SQL Server Log file cant acquire connection while working offline

    hi As I trun Work offline - true, my connection manager for log file says-it cant acquire connection while work offline is true.Where as other oledb connections work fine. Even it tried to get around by putting DelayValidation as true, but didnt work. Is there is anyother setting that has be set. Thanks and Regards Rahul Kumar Hello, are you referring to messages you see when you open the package with 'Work Offline'=true When you say "work fine" do you mean you can open the package and do not see any messages related to the OLEDB connections Thank you ...Show All

  • Visual Basic Referencing a Form on a Seperate Thread...?

    I converted my code from VS2003 to VS2005 and came across Cross-Threading problem, which previously did not occur in VS2003. I am developing a Client/Server style application where a great deal of computations takes place in either application. I designed a "Progress Form" that is used to, well you guess it, display the progress of some work. In an attempt to create code that could be universal used by any application, I decided to create a Class. I have a "Thermometer Class" that manages all the interaction of a "Thermometer Form". There is a reason why I used this duel object method of creating my "Progress Form". I want my progress form, when displayed, to lock the GUI but not to block the thre ...Show All

©2008 Software Development Network