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

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

saint168

Member List

Naldai_
Daffodils
TEJKIRAN
DLdfrd
Joe Villa
Syed Rahman Mashwani
rebeccat
Laitram
Helen54999
willajo
newindotnet
Alvin Kuiper
YoK
tee_user5
opivfx
Peter Manse
Martin Saumann
LKharlamov
supagu
MarlAtkins
Only Title

saint168's Q&A profile

  • Visual Studio Express Editions Spreadsheet in webBrowser access

    I have a problem that I can think of two soultions for. I haven't got a clue how to do either of them though. I'm writing a program that gets a list of transactions from a website. The website saves the transaction in a CSV file. Solution 1 Directly download the file and read from it using StreamReader - I have used the WebClient method to do this but when it goes to the server, it is returned with the html code that diverts you to the login page. Obviously doesn't support direct linking. - I don't know how to auto download a file using the webBrowser control. If I navigate to it, I'm presented with the message box that asks if you want to Save or Open. If I save, it leaves the possibilty of the file ending up in the wrong directory so I'd ...Show All

  • Visual Basic Variables losing information?

    Why does dataAccess lose some of it's values just after the new sub has been called Both synchronizingObject and notifyDelegate is set to nothing as soon the new sub is done. I'm 100% sure that the variables are set to something while calling new 'Click on button [code] Dim dataAccess As DataAccessQrapport dataAccess = New DataAccessQrapport(Me, New DataAccessQrapport.NotifyProgress(AddressOf ShowProgress)) something= dataAccess.getSomething(ID) Public Class DataAccessQrapport Public Delegate Sub NotifyProgress(ByVal Message As String, ByVal PercentComplete As Integer) Public synchronizingObject As System.ComponentModel.ISynchronizeInvoke Public notifyDelegate As NotifyProgress Public Sub New(ByRef SynchronizingObject As System ...Show All

  • Visual FoxPro Backup Options for newbie to VFP9

    Can someone please advise me on how to perform backups to either a CD or a memory stick from a menu choice Referring to a previous thread re the zip libraries, how would I call these libraries then actually perform the physical backup to the CD or memory stick The users want VFP9 to completely run this routine for them without any intervention except either inserting a CD or placing the memory stick in the USB. Previously, the 2.6 app used the run pkzip then copied the file to a disk drive. Thanks Sammy32 You can use an external ZIP library. Generally using an ActiveX or DLL that does the ZIP seamlessly is a better idea. I use DynaZip (See http://fox.wikis.com/wc.dll Wiki~DynaZip ...Show All

  • Windows Forms DataGridView - Setting DataSource Fires RowEnter Event

    When Setting the DataSource of the DataGridView the RowEnter Event Fires but the DataGridView Contains no Data. Shouldn't data be added before the first row is entered I have not found a solution. If I remember correctly the row count was one when nothing was in the DataGridView so I couldn't use that. The reason this came up was because I was trying to set the backcolor of a row when the user enters a row. The entire Grid's backcolor was being set. My temporary solution was to set a variable with index of the row at the start and any time it changed then run the code when the RowEnter event fired. ...Show All

  • Visual C++ VC5 on Vista Issue

    I build an EXE project by VC5 on Vista, but I can't debug it. When I debug it , it will crash. I don't why. Can somebody tell me the reason. Thanks Maybe because VC5 is no longer compatible with the debug core in Vista! VC6 is no longer supported. VC5 is not supported for years. I strongly recommend to use a current development system like VS2003/2005! ...Show All

  • SQL Server Lookup transformation problem

    Hello all, I needed to lookup some table values based on a join of two fields... I've configured the lookup transform to get the values via a SQL statement to minimize loading time. However, when creating the relationships between the input columns and the lookup columns I receive following error: input column [BATCH_ID] has a datatype which cannot be joined on I've checked both input and lookup columns, both are of type DT_R8... Both columns in the different tables do have the same datatypes Any idea how to solve this problem Thanks in advance Hello, Thanks for your reply but how can I change datatypes fetched directly from a SQL statement in the lookup query ...Show All

  • Visual Basic Out of Memory Error - Framework 1.1

    I have a VB.NET 2003 application that cycles through images and videos on a timer event. After a few hours of operation it 'bombs' with a 'out of memory ' error... ANY HELP would be appreciated. I attach the relevant code sections ---- Source Code ---- Private Sub InitVideoPlayback() Dim appPath As String appPath = Application.StartupPath appPath += "\video" Try Dim dir As New System.IO.DirectoryInfo(appPath) ImgVideoFiles = dir.GetFiles() NextVideo() Catch e As Exception MsgBox("Could not load video " + appPath + ". " + e.Message, MsgBoxStyle.OKOnly) End Try End Sub ...Show All

  • Software Development for Windows Vista Tracking and Persistence Service

    Hi, I tried adding the SqlTrackingService and SqlPersistenceService to my runtime. I have two databases one for tracking and one for persistence When I add only one of there service, I am able to see the entry in the database, but when I have both the services added I do not see any entry in the database. This is what I am doing. string connectionString = "Initial Catalog=PersistenceDatabase; Data Source=localhost\\SQLEXPRESS; Integrated Security=SSPI;" ; SqlWorkflowPersistenceService persistence = new SqlWorkflowPersistenceService (connectionString); workflowRuntime.AddService(persistence); string trackingConnectionString = "Initial Catalog=TrackingDatabase; Data Source=localhost\\SQLEXPRESS; ...Show All

  • .NET Development auto increment

    public class AddAnnouncement { public void _AddAnnouncement() { XmlDocument newAnnDoc = new XmlDocument (); newAnnDoc.Load( "~/App_Data/Announcement.xml" ); XmlNode newAnn = newAnnDoc.CreateNode( XmlNodeType .Element, "ann" , null ); XmlNode Id = newAnnDoc.CreateNode( XmlNodeType .Element, "annID" , null ); XmlNode Title = newAnnDoc.CreateNode( XmlNodeType .Element, "annTitle" , null ); XmlNode Body = newAnnDoc.CreateNode( XmlNodeType .Element, "annBody" , null ); XmlNode Date = newAnnDoc.CreateNode( XmlNodeType .Element, "annDate" , null ); XmlNode Priority = newAnnDoc.CreateNode( XmlNodeType .Element, "annPriority" , null ); XmlNode Sender = newAnnDoc.Creat ...Show All

  • Audio and Video Development Text to Display Rending

    Here's the issue in the simplest terms I can explain it. This all started with subtitles. It is obviously easier to have a markup file with all the subtitle text in it instead of having to make individual graphics for each. Far as I know, this should be possible. Unfortunately, it's not going so well. After many attempts at subtitles, I decided to just add a very basic text output from the main markup file. It still did not work! I've checked the fonts, tried a few, and they are all Open Type. It's a very simple piece of code that just sets the position, font, and color. I left out all the timings and animations to be safe. Is there a bug in the Toshiba Players that won't do this or I am just overlooking something right in front of my face ...Show All

  • Visual Studio Team System Date formats in .trx file

    The results file (.trx) contains startTime and finishTime in Int64 format which is a bunch of digits. I was wondering if there is an easy way to change the output type so that these fields are more readable. If not, I would like to know what the Int64 means, so I can convert it to a Date/Time using code. Thanks, Hi Hammad, You can get those numbers from the UI, when loading the trx files. Int64 is a long value in C#, you can use System.DateTime class if you're interested in changing to a meaningful format programatically. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • .NET Development Reflecting Child Objects

    I am getting a MissingMethodException when trying to use reflection to get data from a child object. What am I missing Here are my classes: public class classA { public classB B = new classB (); } public class classB { public int x = 10; } And the code: classA a = new classA (); object ret = a.GetType().InvokeMember( "B.x" , BindingFlags .GetProperty | BindingFlags .GetField, null , a, null ); You'll need to use InvokeMember twice, first to get the value of the "B" field, then to get the value of the "x" field. For example: classA obj = new classA(); object bvalue = typeof(classA).InvokeMember("B", BindingFlag ...Show All

  • Visual Studio Express Editions data exists

    hi all im trying to find out how to see if a record exists in a database and returns true if it is there also in code how can i if it does exist add a value into where column name is "type" thanks in advance tim hi thank you for the quick repley i think i dident explain what im trying to achive very well i have already linked the bining navigator and table adapters to my page so i can use the TableAdapter.fill to fill the datagridview and i can also save but what i want to do is using an if statment like the following oil filter = variable that i wish to see if is alrady in the dataset ive tryed using the fil command and the query builder to do this but could not quite not get it to work i ...Show All

  • Visual C# Computer stats (WEB)

    Does anyone have a free webproject that shows computer stats Like Bandwidth Up and Down in use, ram use, processor use....Uptime...These things... Thanks !!!!! some of these can be done using the performance counter. Take a look at this thread here, for information on how to get the RAM use/CPU Usage: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=773531&SiteID=1 in terms of the networking stuff, not entirely sure. One other reference/resource which I believe will help you is this: http://msdn2.microsoft.com/en-us/library/system.diagnostics.performancecounter.aspx It's the performance counter class. System uptime can be looked at from the Environment.TickCount, but also using WMI Classes, for chec ...Show All

  • Visual Studio Team System Code Coverage for User Controls

    Is it possible to perform Code Coverage Analysis for User Controls in Visual Studio Team System. If Yes, do we need to do any thing different from that what is needed for normal Windows control Yes. It is indeed possible to perform code coverage for user controls. What I missed during my earlier analysis was that we need to add the assembly file for user control explicity in the code coverage artifact list. ...Show All

©2008 Software Development Network