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

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

ExtinctPencil

Member List

Flack
lebedinsky
cplusplus1
Ralph Morton
markzollo
Pinkfish
Henry Ong
shaeron
ACCOUNTINGONLINE.US
snowsquirrel
Maeestro
jerrykur
vasii
shimshon
Lucian Wang
StarRrr
nwyork
Crafty Coil
Wojtek
russlunn
Only Title

ExtinctPencil's Q&A profile

  • SQL Server Run SSIS package as an sql server job

    Hi There, I have sqlserver agent running with a windows user account which is member of administrator group. I try to set up the job to run an ssis package and set up to run as sql server agent service account. For some reason, the job fails and it doesn't give much error info if I look at job History. Can somebody plzz help me I am unable to understand what extra permissions must that user have to run the ssis package as a sql job And how do I configure the job to give more error details Any suggestions are greatly appreciated. Thanks. ...Show All

  • .NET Development Static method in an Interface?

    Is there a good reason why static method cannot be defined for an interface Not sure whether your comment was a question or additional feedback Karthik so I'll just make one comment for others to be aware of. Be careful not to confuse what is going on with static members and inheritance. Static members are not inherited under any circumstances. So with Abst you have a static method and with Program you have another, independent static method. Both are callable by anybody and there is never confusion about which one will be called. If you were to leave out the implementation of DoSomething from Program then the app will not compile. Michael Taylor - 2/9/07 http://p3net.mvps.org ...Show All

  • Windows Forms Ending Backgroundworker

    I'm just wondering if there are any specific functions that should be called from within the BackgroundWorker process in order to clean it up properly, or if you can just let it exit like a normal function No, you simply exit the DoWork event handler like any other function. The BackgroundWorker itself must be disposed but that's something you do from the thread that created the background worker in the first place, not from DoWork. If you added a BackgroundWorker to your form using the designer there is no need to dispose it, the generated code will take care of it. ...Show All

  • Smart Device Development typed dataset vs untyepd dataset - which has better performance on mobile devices?

    Hi I have a doubt, which has better performance on mobile devices, typed or untyped dataset which is recomended, in terms of performance, for mobile devices thanks in advance Rodolfo Typed DataSet inherits from untyped DataSet, adds typed methods to access data. Thus performance is pretty much the same as storage engine is unchanged. ...Show All

  • Windows Forms Force property grid to completely refresh.

    I've implemented dynamic type information for a control class using ICustomTypeDescriptor. Specifically, setting one property to a certain value causes some other properties to become irrelevant so I omit them from the properties collection in ICustomTypeDescriptor.GetProperties(). The problem is that the PropertyGrid control that is displaying the properties for the object does not update to show these changes, even after calling Refresh() on it. I've also tried doing stuff like clearing the selected object from the property grid and re-setting it but it still shows the old set of properties. One strange thing is that resizing the control by dragging one of the resize handles causes the grid to update properly (setting the size via ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Short tech demo

    Here is a tech demo of something I've been working on. Demonstrating a simple Xbox 360 XNA project pulling data from an unexpected source. Hope you enjoy it. http://waru360.codesan.com/2007/02/quick-tech-demo.html How in the heck did you get access to the wiimote device memory on the 360 in XNA I've been able to write a driver for the wiimote but I had to use C++/CLR and C# so its only windows compatible. Share the wealth man! Ziggy www.ziggyware.com ...Show All

  • Visual Studio Express Editions Help with Strings

    I want to be able to identify the start position of each time “teststring” appears in “tempstring”. What is the best way to do this Dim Pos(100) As Integer Dim Found As Integer = 0 Dim x As Integer = 0 Dim TestString As String = "var oRunner = place.m_R" For Each item As String In TempString Found += 1 If InStr(Found, TempString, TestString) Then Pos(x) = Found End If x += 1 Next item The following code should work. It creates an array list of the positions in the file. You could chnage this to string them to a CSV string or whatever structure you need. Dim Pos As New ArrayLis ...Show All

  • Windows Forms Publish Bug? Paid Sponsor?

    Hello Whenever I publish my application, these three websites/folders come up: My documents NASA Homepage Mapquest What is up with this Has anyone gotten this kind of behaviour I don't know how these website popped up. I never visited them in such a long time. Keehun This was puziling me too. Then I had a brainwave I made IE my default web browser instead of Firefox. Bingo instead of the random web pages you get explorer opening up the folder you just built. Now look at the address of that folder. If it starts C:/Documents and Settings/ you will get the three pages you describe because of Firefox's google searching in the URL bar. If you do a google search on the string and you'll see nasa is the highest ranking ...Show All

  • SQL Server Inserting row with single quote

    I'm inserting a row of people's names and addresses to a table. This seems to work great, unless the person has ' in their name, for example O' Riordan. When the address has single quote (such as Wilder's Path), I'd get the same error, unclosed quote when inserting the row. What would be the best way to work around this, other than read the line and replace it with a space. Take a look at these links http://msdn2.microsoft.com/en-us/library/ms378878.aspx http://msdn2.microsoft.com/en-us/library/ms378138.aspx Hope this helps ...Show All

  • Visual C++ I can't input or output

    Ok i tried namespace and STD then namespace AND std and nothing works, i tried about a hundred different codes and none of them work, it says "cout undeclared identifier!" please help! should i send it back or is theresomethig easier/ The below code should work. #include <iostream> using namespace std; int main() { cout << "hello" << endl; return 0; } Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Studio 2008 (Pre-release) tried making a new service with 1 method that simply calls and gets a string from the sql database

    Hosted in IIS right now, directory security is set to anonymous and everything else is unchecked. My service methods all have impersonate.required attributes and principlePermission(securityaction.required,role="mydomain\domain users") on them. however, i keep getting security exception and it faults out. here is my web.config servicemodel info. < system.serviceModel > < bindings > < wsHttpBinding > < binding name = " wsHttpBindingConfig " > < security mode = " Message " > < transport clientCredentialType = " Windows " proxyCredentialType = " Windows " /> </ security > </ binding > </ wsHttp ...Show All

  • Windows Forms display member of checkedlistbox

    I want to use a checkedlistbox for users to check which record they want to select. Can I show the full detail of record(serveral fields) instead of a single field I want a check box at the first column for user to check it, state the record is selected, there isn't any field for this check box to store the value in my database, the check box is only for me to know which record(s) I'll need to save. can datagridviewCheckBoxColumn do the same thing Or it is only one of the boolean display styles Thank You ...Show All

  • Audio and Video Development Adv. Cont. Playback on HD-A1 >> NO RENDERING

    Hi All, I am having trouble getting an advanced content application to play once burned on a DVD-R and inserted into the Toshiba HD-A1 HD DVD player. Video and audio play fine using this method, but once the advanced content object is reached the player stops playback and gives an error. Does anyone have any advice on this We have tried the samples posted here and we get the same results. Thanks. My test is on a HD-XA1. It works for me to write HDDVD standard content on DVD-R/DVD-RW with UDF 1.02 or UDF 2.5 and playback ok on HD-XA1. For advanced content, it seems HD-XA1 asks for AACS encrypted content. I tested the same iHD content mastered with and without AACS, my HD-XA1 only take the one with AACS. ...Show All

  • .NET Development Yet another GC question

    I would be happy if someone will be able to answer the following question. recently I was investigating memory leaks & handles problem during my work. I have seen a very strange phenomenon: I have a class that exposes only static methods. on one of the methods I do the following things I create an start thread The ThreadStart delegate calls a method that call GC.Collect() & GC.WaitForPendingFinalizers(). Most of the time the new thread never finishes it's work because it gets stuck in GC.WaitForPendingFinalizers(). The only scenario that this thread is resumed is when I activate another GC collection from my program's console menu. The whole phenomenon doesn't happen if I make the following changes: I use gc ...Show All

  • Visual Studio 2008 (Pre-release) It is too difficult to start a new WCF service

    I am starting to get really frustrated. I have been using the an old CTP of .net 3.0 and been developing fine. It is nice and quick and simple 1. file->new web site 2. choose C# WCF website 3. hit compile. and all the WSDL etc. is auto generated 4. tell my client to add a new service reference Now that i've installed on the latest September CTP there are a thousand steps 1. file->new web site 2. choose C# WCF website 3. hit compile. and nothing is setup. 4. read a few websites about how to enable WSDL. 5. Realise that you then have to setup some endpoints 6. realise that none of it works 7. post on MSDN Any help would be great. I was half way through a project but can't continue any further until i can actually create a new serv ...Show All

©2008 Software Development Network