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

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

BlueMikey

Member List

vbjunkie
Japu
Stormsys
Zero_
Yuhong Bao
Nigel Harper
Horst Klein
Pooja Katiyar
RankoNS
Flame Sword8
MarcBey
Ido Ran
schmod54
Michael Ruminer
danych
Andrew Grammenos
spelger
EricEric
Wicket
ChecMate
Only Title

BlueMikey's Q&A profile

  • Visual C++ CList and template

    Hi guys, I made a template that will works on a CList type, but it doesn't work. template <class T> class CIntFile { // ... void Write(T list); }; template <class T> void CIntFile<T>::Write(T list) { //// list.GetAt(0); list.Next(); //// } ///////////////////////////// in another file: CList<CIntMyClass> listMyClass; /// fill it listMyClass.Add(NewData); /// CIntFile<CIntMyClass> intFile; intFile.Write(listMyClass); -------------- Why Tnx yes, there are not cast. But I used the CIntAirport class in the example because it's just an example. I have not only the CIntAirport class in the CList but I can have many other one. So how can I use these ...Show All

  • Visual C# documentcomplete event

    I've got a really weird problem with my application; it works on some pc's, and it doesn't on some others. What I've got: A Visual C# 2005 console application with references to MSHTML and SHDOCVW. I use mshtml to get a list of currently open browser windows, and attach events to it to edit the list when a new browser window is created or closed. I attach a documentComplete event to each open browser window and handle it the event there (let's say it prints out the url where is navigated to). So when I run this program, it should detect when I open a new browser window, when I close one, and it should print out the url of a site when it is done loading it. And there's my problem. On a few pc's, it all works perfectly. But o ...Show All

  • Smart Device Development Retrieving all device icons

    Hi, I need your help. I have developed sample application for listing files and directories like File Explorer. Files and Directories are displayed in the ListView control. For that application, I need all device icons (gif icons, jpeg icon, exe icons, dll icon...) to display in the ListView for files. I think all icons are in dlls like windows (Shell32.dll). How do i get that icons Please send your suggestion or links. Thanx. M. GANESAN Icon.FromHandle(IntPtr handle) will give you an Icon object you can use in managed code. System.Drawing.Graphics has a method called DrawIcon you can use to display your icon in your control. ...Show All

  • .NET Development Open a file on the network using the special credentials?

    My program access the xml file to process it the following way: System.IO. StreamReader SReader = new System.IO. StreamReader (" \\\\192.168.150.1\\HelpDesk\\Transfer\\Bit\\Unsubscribe.xml "); //for reading System.IO. StreamWriter SWriter = new System.IO. StreamWriter (" \\\\192.168.150.1\\HelpDesk\\Transfer\\Bit\\Unsubscribe.xml "); //for writing By default the program is ran by a user with a power user domain account. When a program attempts to write to a file the log in to the remote computer box appears and the user must enter the credentials. How do I make my program to use a hardcoded credentials that will not be dispalyed to a user but will log on and open a file for writing as a specif ...Show All

  • SQL Server Pass Parameters from applcation to report

    Hi, I have a report,which has the parameter CCode,which is a dropdownlist and shows the names getting values from a query.Now i want to pass the default value to this parameter from ASP.NET application.For this iam setting parameter and adding those parameters to reportviewer control.It works well when we use the Text Box for the CCode.But doesn't working when CCode has Drop Down List. How to achive this. Thanks in advance ...Show All

  • Software Development for Windows Vista Provider-Independent Data Access

    Hi i am working on independent data access that we can use either oracle or sql server database. could u help how to add paramters to IdbDataParameter[] array. Thanks in Advance by Madhu.P Sorry about the late response. What are you talking about g Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation blog: http://blogs.msdn ...Show All

  • Visual Studio Tools for Office in a new form i want to open the msoutlook mail to window

    in a new form i want to open the msoutlook mail to window in my vb.net windows application i need to open the msoutlook mail to window the size of the form will be 1016,350 Hi Rajesh If you're using VSTO technology, the "imports" would be there for you. If you're not using VSTO technology, then you're asking in the wrong place, which is why the answers you're getting here may be confusing you. I recommend you pursue this question in the Outook programming newsgroup. You'll find people there who specialize in Outlook automation questions, also using VB.NET. Please compose a detailed problem description that outlines exactly what you need to do, your background in Office/COM automation (or that you have none) ...Show All

  • .NET Development Validate XML against a DataSet Schema.

    I have limited XML skills and am completely baffled by how to validate an XMLDocument using a DataSet schema. Let me explain, I have a web service with an XMLDocument as it's main input parameter. This XML needs loading into my database. I can successfully do this as follows:- oraCmd = new OracleCommand("MyOracleTable", oraConn); oraCmd.CommandType = CommandType.TableDirect; // get Data Adapter oraDA = new OracleDataAdapter(); oraDA.SelectCommand = oraCmd; // Create ins procs for saving data OracleCommandBuilder oraCmdBuilder = new OracleCommandBuilder(oraDA); oraDA.InsertCommand = oraCmdBuilder.GetInsertCommand(); // get schema for DataSet DataSet oraDS = new DataSet(); oraDS.DataSetName = "Plan"; oraDA.FillSchema(o ...Show All

  • SQL Server Values for SEARCHABLE column returned from sp_datatype_info

    I have a question regarding the values returned in the SEARCHABLE column of the system stored procedure sp_datatype_info. What do ALL of the values mean The SQL Server BOL only provides meanings for the values 0 and 1, but I am also seeing values 2 and 3. What are the meanings of these values Thanks, Sean This system SP is primarily meant for SQL Server OLEDB providers/ODBC drivers. I don't know what 2 and 3 means. The OLEDB SDK or ODBC SDK probably documents these at the API level (PROVIDER_TYPES or SQLGetTypeInfo). But what are you doing with the output of this system SP Why are you using it Maybe there is another way to get the same information rather than relying on primitives used by other API. Or ...Show All

  • Visual Studio 2008 (Pre-release) Event registration fails with No error or Exception - Bad Bug

    Here's the declaration class CollectionSetting : Setting, INotifyCollectionChanged { // INotifyCollectionChanged event public event NotifyCollectionChangedEventHandler CollectionChanged; This code fails to modify CollectionChanged, it remains NULL CollectionSetting cs = (CollectionSetting)_Timing; cs.Values.CollectionChanged += CollectionChangedHandler; ...Show All

  • Visual Studio 2008 (Pre-release) LINQ to SQL: Bugs and desperately wanted features

    We have been using the LINQ May 2006 CTP (VS2005) for some time now, and we are very eager to get our hands on the upcoming Orcas March 2007 CTP. However, after reading blog posts and chat transcripts, I've found out that the next Orcas CTP is going to be " on par " with the May 2006 CTP. This sent a cold chill down my spine, since the May CTP is so buggy that we cannot use it for even the most simple tasks... Will the Orcas March CTP include lots of DLINQ bugfixes, or just the codebase from May 2006 CTP Things we desperatly need fixes for include: 1. The @@IDENTITY bug. When inserting rows into a table with a trigger the wrong identity is returned, and thus LINQ gets out of sync. Use SCOPE_IDENTITY() instead! 2 . The ColumnAttribute ...Show All

  • .NET Development COM object with CLSID {some hex here} is either not valid or not registred.

    .net 1.1 I have been using CAPICOM 2.1 in my application for some time. Now I had to delete my account and work with anotherone. And my problems with CAPICOM started. (I use very same projects and changed nothing else). I registred CAPICOM again (downloaded newest version from internet and used command [regsvr32 d:\capicom\CAPICOM.dll]) which says, that capicom has been registred properly. But when I try to use it in program, it says COM object with CLSID { some hex here } is either not valid or not registred. No restarts, reinstalls of capicom or reference works. Please, give me a hint. The new version probably uses new GUIDs for the classes in capicom.dll. You need to let the IDE generate a new wrapper that uses these new GUIDs. ...Show All

  • Visual Studio Team System CTP7 Question

    I am using schema compare to compare a database (SQL Server 2005) against my project. database is source, project is target. I got some tables where I turned the enforce foreign key contrain off. When I now compare the database, the source will look like this: -- Foreign keys ALTER TABLE [dbo].[DruckRGPObjekt] WITH NOCHECK ADD CONSTRAINT [FK_DruckRGPObjekt_Artikel] FOREIGN KEY ([Artikel]) REFERENCES [dbo].[Artikel] ([ID]) GO ALTER TABLE [dbo].[DruckRGPObjekt] NOCHECK CONSTRAINT FK_DruckRGPObjekt_Artikel GO where the target will look like this: -- Foreign keys ALTER TABLE [dbo].[DruckRGPObjekt] WITH NOCHECK ADD CONSTRAINT [FK_DruckRGPObjekt_Artikel] FOREIGN KEY ([Artikel]) REFERENCES [dbo].[Artikel] ([ID]) GO the second alter table statemen ...Show All

  • Windows Forms help me in Datadridview and BindingNavigator in vb.net 2.0

    Hi, I have a rewquirement in my Appln. ie.. in my appln, In 1st form i have a datagridview Control,In 2nd form I have a BindingNavigator control. When i press a next button in bindingNavigator, I have to display the selected row fields of datagridiew contol of form1, in Text boxes of 2nd form. Please help me. On Form1 1) Add a DGV 2) Add a Binding Source 3) Add a button "open form2" In the form loadevent of form1, add the following code Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim dt As DataTable = New DataTable() dt.Columns.Add("Col1") dt.Columns.Add("Col2") dt.Columns.Ad ...Show All

  • SQL Server Accessing Reports via a URL in a Domain

    I have SQL Server on a domain server. When I try to view the reports via. a URL with peer to peer I am prompted with a user name and log in. I use a domain name and log in and click remember password, and I can see the reports. But if I am in the domain, all I get is a redirect back to http://servername/ . I guess my question is that I have tried loggin in as the administrator and I still cannot get in, so is this some kind of IE7 setting I need to find. Thanks in Advance Will ...Show All

©2008 Software Development Network