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

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

GoDaddy

Member List

LastBoyScout
Rhubarb
Montana Jones
John McMillion
XNA Rockstar
DonAM
Wayne.C
Lawrence 007
edukulla
Andre.Ziegler
Deuce BOI
OmidQRose
Tito Jermaine
GuyVerachtert
Obal Orrestad
LMerritt
Dasa
arse
TigerPhoenix
Rishab
Only Title

GoDaddy's Q&A profile

  • Visual C# Help required to solve circular dependency problem in vb2005

    I am working on an application design that requires two projects to cross reference each other. I found the excellent Formfactory / Interface example/solution (listed below) on this forum. Unfortunately I am not C# literate. I understand and appreciate the method, but my attempt to convert it into vb2005.net has been defeated by the C# syntax. I would greatly appreciate someone (multilingual) providing a translation into vb2005.net Here is the C# solution: The pattern to solve this is abstract class factory , together with the singleton pattern. What you have to do is the make a classfactory for the forms . This classfactory you can place in your main program, which anyway MUST reference your assemblies, thus it w ...Show All

  • Visual Studio Tools for Office Saving Excel to SqlServer Image field

    I have a document module function running a my website that displays txt, pdf, xls, ppt, doc files that are stored in a Sql Server 2000/2005 database table (image field). I would like to write a function triggered from a button event that saves the spreadsheet directly to the database table. I have 2 scenarios: 1) This routine writes the file disk and using VB.Net ADODB.Stream, saves to the database. I would like to remove the save to disk code and convert "This.Application" to an internal in-memory/in-process object which can be written to the database. ======= Code Sample 1 ============================== ** VSTO Button Event Invokes SaveAs method and save to disk. Dim AttachFileStream As New ADODB.Stream ...Show All

  • .NET Development xml to excel conversion

    Hi , I'm using the following code to convert XML to Excel. (downloaded from planetsource) I didn't get any output as well as errors. Excel sheet looks blank. can anyone tell me how to do this Is there any other way to convert xml to excel file Thank you! Try Dim xml As New XmlDocument xml.Load("C:\STData.xml") Dim node As XmlNode Dim list As XmlNodeList list = xml.SelectNodes("//Age") Dim app As New Microsoft.Office.Interop.Excel.Application Dim exbook As Microsoft.Office.Interop.Excel.Workbook Dim exsheet As Microsoft.Office.Interop.Excel.Worksheet exbook = app.Workbooks.Add exsheet = exbook.Sheets(1) Dim xx As Integer For Each node I ...Show All

  • Software Development for Windows Vista Music Playback in Vista Problems

    Since installing Vista Ultimate, simple music playback using various programs is hampered by digital stuttering (similar to Max Headroom) from all music players. Vista can't get through a single song without these hiccups. Occurs in: Media Center; Rhapsody; Winamp, WMP 11; iTunes about every 30 seconds. My system is Windows Premium Ready; Acer Aspire 9800 (20" notebook) Dual-core T2600; 2GB RAM. Hardly lacks power; drivers not an issue on any of the aforementioned programs. Anyone have this same problem, or hints at a source of the problem Hi Steven, I'm having the exact same problem!! What's more, there is an annoyingly painful delay between selecting a song and having it play back.. ...Show All

  • Visual Basic How to use CAPICOM for digital signature using HEX encoding?

    Good day to all! I am using CAPICOM for digital signature in vb6. What I noticed is that the component can only create a digital signature using BINARY and BASE64 encoding. What I need is to create a digital signature using HEX encoding.  Is it possible using CAPICOM Please help me because I really need to finish this given task.  Thanks in advance   Philip - VB6 Programmer   Hi, Please use the VB area pointed to from this thread.>> http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=478161&SiteID=1 or the VB area on http://www.programmersheaven.com This forum area is for VB.Net questions, sorry. Regards, S_DS ...Show All

  • Visual C++ Different MFC versions causing problems

    Hello, I have a problem which stems from the fact that MFC 6.0 and MFC 7.0 are incompatible. I am trying to use an MFC library written in 6.0 with Studio 2003 (MFC 7.0) and it does not work. It gives the usual CRuntimeClass* GetThisClass() link errors, which from what I've read is one of the hallmarks of the 6.0 to 7.0 incompatibility. The strange thing is, I have the code for the library and I have compiled it in Studio 2003 and it compiles successfully. Yet it still gives the same linker errors in my other application. So I assume what is happening is that it is compiling in some sort of "compatibility mode" with the older MFC (which the project was made with), and generating a library not compatible with the current vers ...Show All

  • Visual Studio Team System Undo add of solution/project

    If you have performed addition of previously unbound solution/project to TFS source control, and want to undo the operation, there are several gotchas. First, you perform "Undo pending changes" to undo pending Add change. All is kool, the operation is undone and it is possible to work without source control as before. But let's say that you finally decided to add the solution/project. Several findings here * "Add to SC" functionality is not available! Ok, I have undone the operation but now I do want to add my solution! Workaround: must go to File->Source control->Change source control, and there one will discover that there still exists binding of the solution to TFS. Unbind the solution/project, and then "Add to SC" functi ...Show All

  • Smart Device Development Migrating Evc 4 project To VS 2005 Generate error C2440

    Hi, I am Migrating Evc 4 project To VS 2005 ,but it Generates error C2440: The Debug info as follow: .\MyView.cpp(51) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl CMyView::* )(void)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'         None of the functions with this name in scope match the target type the IDE pointer to this line: ON_MESSAGE(WM_KDV_HOTLINK, OnHotLinkKDVExplain) the following argument is in the MyView,cpp: afx_msg void OnHotLinkKDVExplain(); #define WM_KDV_HOTLINK     WM_USER+101 above is define in a header file. My project is : Single Document others using default. and Vs 2005 professional  version 8.0. ...Show All

  • Visual Studio 2008 (Pre-release) Where is the storyboard's target

    Hi, I have an animation running through a storyboard. I want to stop the animation in some CurrentTimeInvalidated callback. Looking in the debugger, I see that when the animation runs through a storyboard, its clock controller is null. Therefore, I can't stop it through the clock.controller.stop() interface. However, the storyboard is accessible as (Storyboard)clock.parent.timeline, so I can use it for either seek() or stop(). These functions require a frameworkelement, which should be the same one that I passed to storyboard.begin(). Where do I find this element, short of keeping a reference in some private data structure I didn't find it in the animationtimeline, animationclock or storyboard. Unfortunately you will not be able to u ...Show All

  • Visual Studio How to get the Top N of a certain report

    Good day everyone.I am using vb.net 2005Pro as my front end and Access2003 as my back end for my application.Using CrystalReport that comes with the VS package I am able to generate my report with date parameters and it goes something like this: Dim xCR as New TopExams xCR.SetParameterValue("FromDate", CDate(ExamTop.dtpFrom.Value.ToShortDateString)) xCR.SetParameterValue("ToDate", CDate(ExamTop.dtpTo.Value.ToShortDateString)) xCR.DataDefinition.RecordSelectionFormula = "{TopExam.MaxOfDateOrders1} >= { FromDate}AND {TopExam.MaxOfDateOrders1}<={ ToDate}" The whole thing was doing fine.Now I want to add a new Parameter named Top which values would come to the user's in ...Show All

  • Visual Studio BuildAssembler failure - DXROOT not replaced in config

    I'm running sandcastle on my build server using the msbuild scripts on CodePlex. I have verified that the DXROOT exvironment variable exists, yet I receive the following when I build: Not sure. Is there a path hard coded in your scripts that could be causing this Anand.. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Properties with mulitple values

    How would one go about creating a property that has multiple values like the Size property for example. It has a height and a width property contained in itself.. I want to create a property for the drawing color that has 3 ints: red, green, and blue. I don't know how to do the getter method. public int DrawColor { get { } set { red = value; green = value; blue = value; } } The Size property, is a struct ... public struct Blahblahblah {     public Blahblahblah(int someinteger, string andtext, object andsomethingelse)     {         SomeInteger = someinteger;         AndText = andtext; &n ...Show All

  • Visual Studio Express Editions Automatically enter Text from one Text box to another as you type.

    I would like to setup a Text Box that pulls the Textbox.text from 2 separte text boxes and then displays them in this textbox. For Example... TextBox1.Text = "Jimmy" TextBox2.Text = "Taylor" TextBox3.Text = "Jimmy Taylor" But the kicker is I want it to add the "J" in TextBox3 as I type it in TextBox1 ect. I tried a number of places but I am not sure how to describe this and I am not coming up with very good examples. Thanks in advance for any help. The default form is also a class which is called Form1 and which is derived from Form. I guess that is the form where you have the Create button which triggers the creation of the dynamic form, correct A post earlier you had ...Show All

  • Visual C# Reading from a text file

    Hey! I want to make an Islamic program with daily prayer times but I'm having a big problem. The prayer time changes everyday, but I have the daily timing for the next 12 months (2007). Here is how the text file looks like: (prayertime.txt) Day January Fajr Sunrise Dhuhr Asr Maghrib Isha Mon 1 6:26 7:51 12:22 2:34 4:52 6:18 Tue 2 6:26 7:51 12:23 2:35 4:53 6:19 Wed 3 6:26 7:51 12:23 2:36 4:54 6:20 Thu 4 6:26 7:51 12:23 2:36 4:54 6:20 As you can see the prayer timings are different everyday. Part 1) Now I want my program to read the data from her ...Show All

  • SQL Server Query performance on partitioned table with partitioned-index

    Hi all, I noticed that there are some big query performance difference when using partitioned-index on partitioned table vs. normal index on normal table. I posted this question again with more details and hope some gurus from Microsoft can help. I have this huge table CHECKS with over 300million rows running on SQL 2000. Since we are going to upgrade to SQL 2005, so I am thinking of partition it to make it more scalable. So I copied it over to a SQL 2005 box and partition it into about 20 pieces based on the column PDATE and named this new partitioned table as CHECKS_NEW. I created same indexes on this CHECKS_NEW table and used partitioned index for all non-unique indexes. Then I ran some queries on both tables and noticed the pe ...Show All

©2008 Software Development Network