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

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

phertel

Member List

vdv_phuong
DWitty
Poppa Mike
KevMac
I am Josha
Ashok Karmani
TinaLi
luweewu
hellborg
ReneeC
Keeep Out
93_confirmed
franziss
Jackobolo
Giftednewt
abi
malignate
davidg12
MarkD08
Free Hall
Only Title

phertel's Q&A profile

  • Windows Forms Dekbar

    I want to write a "search files" program that primary runs at deskbar of windows and possibly at explorer toolbar. How I can do it, at least the first Thanks dimis Hi, To integrate with windows explorer, you may have to look at the shell extension programming. http://www.codeproject.com/csharp/dateparser.asp http://www.codeproject.com/shell/shellextguide1.asp ...Show All

  • .NET Development Generics question?

    Hi folks, Can anyone tell me how I can call my GetOutputXml function from within my generic list class My list class: public class List <T> : CollectionBase { public List() { } public T this [ int index] { get { return (T)List[index]; } set { List[index] = value ; } } public int Add(T value) { return List.Add(value); } public string GetOutputXml() { string outputXml = null ; for ( int i = 0; i < List.Count; i++ ) { T t = (T)List ; // THIS DOESN'T WORK! // HOWEVER, ALL MY CLASSES INHERIT FROM A BASE CLASS THAT HAS THIS FUNCTION. outputXml += t.GetOutputXml; return outputXml; } } } I know I' ...Show All

  • SQL Server Urgent Help on date calculation

    I have a table that hold a couple of fields. STARTDATE - The day the service starts FREQTYPE - This field tells me how often a schedule occurs. Here are the vaules -1=oncall, 0=days, 1=weeks, 2=months FREQPERIOD - This is the number of days, weeks, or months between services. a value of -1 would indicate being oncall. DayOfWeek, Day of week for week or month-based frequencies 0=sunday 6=saturday -1=if on call WEEKOFMONTH - week of month for month based frequencies 1-4, value of 5 if it the last week of the month, So what I need is for this report to look at the start date then figure out what the frequency is (days, weeks, months) then look at the frequency period (how many days are between services) what day of the week it falls on and li ...Show All

  • SQL Server Vista IIS7 and asp.net reporting services wont deploy

    I am using vista, iis7 sql server 2005 sp2, vs 2005. i first noticed that i could not deploy to the localhost server after upgrading to vista. i installed sql server sp2 and configured the iis7 using the control panel. Everything i needed to check off got loaded exept the asp.net check box in the ApplicationDevelopmentFeatures subcategory under the iis configuration section. It errored out when i clicked apply. there was no specific error just that it did not get added. Controlpanel> Programs>T urnWindowsFeaturesOnAndOff> InternetInformationServices> WorldWideWebServices> ApplicationDevelopmentFeatures> Asp.net (check box) When i click OK, afte a few minutes, i get a message: "An error has occur ...Show All

  • .NET Development Bulk loading a SQL CE table from a text file

    I'm loading a sql ce table from a text file on an HP IPAQ using VB in Visual Studio 2005. The text file I'm loading now has about 16,000 100 character records and it takes about 6 minutes to load. The problem is the text file could have a 100,000 records or more. I tried "BULK INSERT" but SQL CE bulked at "BULK" so I assume it isn't implemented in CE. I've been looking at sqlbulkcopy but it looks like all the data has to be in a memory-resident table. Does anyone know the fastest way to load a text file into an sql ce database I need a run-spot-run explanation and some sample code in VB. Accessing the data with a binary search is going to be infinitely more efficient than hitting i ...Show All

  • .NET Development SOLVED: [HostingEnvironmentException: Failed to access IIS metabase.]

    Hi, Just made a web application in Visual Web Developer Express 2005, and am trying to get it to work. It worked when in Debug mode, when it puts the site at a localhost:xxxx/yyyy. But when I use the copy website option then select local IIS then a directory on my IIS, and go to http://localhost/directory I keep getting this metabase error. How do I fix this Thanks See Below: Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HostingEnvironmentException: ...Show All

  • Visual Studio Team System About warning C6258: Using TerminateThread does not allow proper thread clean

    Hi all, I am getting following warning while doing static code analysis - Warning 2 warning C6258: Using TerminateThread does not allow proper thread clean up 296 Code of line: TerminateThread(m_hThread, 0); Any help is appreciated . TerminateThread should only be called in an emergency situation since it does not clean up any memory, handles, and system resources owned by the thread in question. The only appropriate time to call it is when the application is shutting down and the thread is not responding. And even in that case, you need to know exactly what the thread is doing, and control all of the code that the target thread could possibly be running at the time of termination. ...Show All

  • Visual Basic label.text.length object is read only but i need to shorten it at runtime, please help?

    hi im new to this forum, having used to spend many hours programming basic in my bedroom on a spectrum and now 15 years later im doing visual basic in my living room on a pc so not much has changed lol, anyway, ive coded and made forms for a calculator and it runs fine, i have used a label control on the form as the calculator screen, so that the label.text value changes accordingly and the user can enter no more than ten digits at a time, however, i cant make the label control to limit the answer of the sum to ten digits. i tried this (ScreenLabel is just my name for the label): If ScreenLabel.Text.Length >= 10 Then ScreenLabel.Text.Length = 10 but it tells me that the 'length' property is read-only. does anyone know a way around ...Show All

  • SQL Server Database Partitioning - Partition switching

    Hi, I need replies immediately... This is with regard to switching of partitions in a sliding window scenario. I wrote a stored procedure which does the partition switching in a sliding window scenario. During one switching, if the stored procedure is half executed, if I re-execute the same procedure it throws errors like 'Filegroup is in a different partition switching failed' So how to rollback all the transactions in the stored procedure that does switching of partitions If it is not possible, then how to identify whether a file group is in its original partition before the stored procedure is part executed How to bring it back to its original partition before executing the stored procedure again switching Can any one ...Show All

  • Customer Care Framework Agent Desktop launched ... But issues ...

    Ok...I have been on this for a while and at last Agent Desktop launched.... But it has issues....Before going to the problem our background info Initially our setup was We built a windows 2003 server called CCFDC . CCFDC - is the Primary Domian controller (PDC) for Domain CCF We installed all the server components on this system(CCFDC) and created the DNS entries 1. CCFSQL 2. CCFIIS 3. CCFRS as mentioned in the document to point to the CCFDc To our dismay, the web services didn't work. Upon consulting KB site , I found out , IIS will not work on PDC computer properly. (We tried the workaround as specified.but still didn't work)So we are forced to find another system for CCFIIS. Unfortunately there are no other systems. ...Show All

  • SQL Server Server Express

    hi, my sql server express installation seems fine on the surface. I have activated "sa", etc. yet when i try to connect from the network (local, pings fine) that i get the error like "Server not found or access denied!" I am using OleDB base class for my connection. Could someone help Regards, Ehmer Be sure about servername (and instance if any), username and pwd (if set only fro SQL server login). You can first check with SSMS (SQL server managemnt studio - download if you haven't already do so). Here is a connection sample: oCon = createobject("ADODB.Connection") oCon.ConnectionString = "Provider=SQLNCLI;server=machineme\sqlexpress;Integrated Se ...Show All

  • Visual C++ Convert CString to char string

    I want to pass a string from a CString variable to a system () function. The function won't take a CString, but requires a char. How do I convert CString to char, or a format usable for the function. Thanks. If the function you are calling is expecting a char* that it intends to modify (the contents of), I wouldn't use Jonathan's method, and I'd prefer to use GetBuffer on the CString before passing it to the function. On the other hand, if it expects a const char*, you could pass the CString directly. Unless it's a Unicode build in which you case you'd need to do a T2A macro or something similar. ...Show All

  • Visual C++ Programmatically change Network Property

    How can I programmatically change setting in Local Area Connection property using C++ application I need to uncheck some property and then check it back. For example File and Printer Sharing for Microsoft Networks. Thank you. Ilya This question is outside of the scope of this forum (Visual C++ 2005 as a tool, not network programming). Try asking your question in one of the MSDN newsgroups like: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.networks&lang=en&cr=US ...Show All

  • Audio and Video Development A major Bug in Sonic Premastering...IMPORTANT READ

    Just got a grasp on what is happening when I premaster... In Standard Content I take my advanced content and hvdvd_ts folders and burn them but I just realized it is making my hvdvd_ts subdirectories dissapear! I have hvdvd_ts\background\pevob01.map and when I burn through Standard content all that shows up on my disc is the root of the hvdvd_ts folder. So any subdirectories in hvdvd_ts are gone! Major issue. It should burn my project as it is and not be removing folders! Have a look at figure 3.3.2-1 in the spec. Sub-directories are not allowed in HVDVD_TS. This applies to category 2 discs (adv. content) too... ...Show All

  • Visual C# Intellisense for events...

    Hi! I have a component that provides some events (via the Properties Window in VS2005) So, when when selecting some event I can show some breef text telling the user something about the event in the bottom of the Properties Window (via Attributes). But, I want to provide some help of the parameters in the generted event stub; private void myComponent_OnConnected(string ipAddress) { } How to provide some info/help about my parameter ipAddress I would like some text to show up when holding the mouse over the method name... Thanks, Mats Tanks! But this was not really what I was looking for. I also use /// comments for all my methods. My concern was how to get this working for event methods; /// <summary> /// Bla, bla... ...Show All

©2008 Software Development Network