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

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

SnakeSV

Member List

Cyberjunkie
LBSanthosh
asalcedo
HoOpOe
EisenB
Pete_M
Kamii47
WaywardMage
Asif Hameed
ayacenda
Derek Nedelman
pharaonix
wsalomon
BLiTZWiNG
Ian Jagger
Noah Nadeau
Brian_W
DaveDB
omrivm
keyur mistry
Only Title

SnakeSV's Q&A profile

  • Visual Studio 2008 (Pre-release) What are the latest bits extensions?

    I wanted to know which are the latest bits to make WPF; WF, and WCF applications with vs 2005. I download WF extensions, they seem to be rtm, I also downloaded WPF extensions, but they dont seem to be rtm it seems to be a november ctp. Thanks When I try to install it says that I am missing a component, the components is documentation an dit asy that I must install SDK, is that really needed, and which is the latest version of SDK, is still beta Thanks ...Show All

  • .NET Development .Net Runtime fails when App Domain is used and ComVisible attribute is set to true on assembly level

    I have problem with system writen on .Net Framework 2.0. It fails from time to time with ExcecutionEngineException: .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506) I was able to reproduce this problem in my test environment, I think I found just one way how to crash it, and there are another ways to do it. In my case it happens when I do following steps: create new app domain Create instance of class in new domain Invoke method of that class, which trying to make .Net Remote call Remote server does not exist, so I have every time Socket exception I pass to remote call instance of the class from assembly with [assembly: ComVisible ( true )] attribute as parameter I do unlo ...Show All

  • Visual Basic Reload my form

    I made project using VB.Net 2005 with multi languages, the first form is MDIParent form with MainMenu and toolbars also there is some changes in properties as righttoleft and text of forms. In my Mainmenu (Menustrip) there is opetion to change the UI Culture and I have already done but I need to change all texts in the form as mainmenu items anf form properties. My quetion is: how can I reload my form again to read the new texts names and mainmenu items names from resx file Yea, this code is from VS 2005. If you open your form designer code, you should see a sub in there called InitializeComponent() And you should be able to call that sub.  (Assuming your calling from the form) If you're not calling ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 1.) Lock/Unlock vs. SetData/GetData and 2.) predefined vertex formats

    Two points spring currently to my mind. Is there any reason besides simplicity not to use the common Lock/Unlock mechanics I would prefer the addition of this to the API. GetData/SetData canthe simply be mapped onto this. I have a large terrain, that I tesselate into the locked buffer directly... With this new scheme I have to build a temporary array and then copy over via SetData, same with textures. On the other hand, if we have to live with this, why do we have the managed pool anymore, kind of pointless! The other thing are the predefined vertex formats... Any reason to not expose the members directly and use setters and getters instead I don't see the point here too, this just forces us to create one intermediate result and copy oper ...Show All

  • Visual Studio 2008 (Pre-release) Serialization of an Image Type in .net 3.0

    The image property (Decorated with [DataMember]) of an entity is in a custom collection. How to serialize an image using [DataMember] and send it across WCF service. Please give insight on the same. . The .NET Image class is an abstract class; its two subtypes (Bitmap and Metafile) are serializable on WCF - you should be able to serialize them as is. The thread at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1033270&SiteID=1  contains more information about serialization of images. ...Show All

  • Visual Studio Tools for Office QueryTables Digital Certificate Verification

    I'm using visual basic in excel to pull in data from a web site using QueryTables. The data pull works but every time the macro runs, a dialog box pops up requesting that I choose a digital certificate to communicate with the external web site. This digital certificate (there is only one) has been created and installed on the PC I am running the macro on. When I manually click "OK" on the dialog box the macro and data pull run properly. My question is how do I get rid of the dialog box and manual intervention. I have tried adding "application.displayalerts=false" before the querytable but this doesn't help. Note I also tried "displayalerts=true". Can someone please point me in the right direction ...Show All

  • SQL Server Conditional column select

    Is there a statement to change the column in a select clause For example: select Groups, sum ((if group like '%total%' then select TotalHours else if group like '%Direct%' then select DirectHours endif endif)) as Hours, count(*) from tblGroups. group by Groups. How would I change the static text into the column that I want If I used this for example: SELECT Category = CASE type WHEN 'popular_comp' THEN 'Popular Computing' WHEN 'mod_cook' THEN Price END, CAST(title AS varchar(25)) AS 'Shortened Title', price AS Price FROM titles I would like my result to be like: Category Shortened Title Price 2.9900 The Gourmet Microwave 2.99 ...Show All

  • Visual Studio Express Editions How to convert char string to Unicode?

    Hi -- I'm looking for a simple way to convert an ASCII string to Unicode. More specifically, I've got a function that starts out... int main (int argc, char *argv[]) And I need argv[1] converted to Unicode because I want to feed that string (it's a file name) to a Win32 API call SetNamedSecurityInfoW, which requires a filename (logically) but needs it in Unicode. I have tried using MultiByteToWideChar, but it doesn't like my argv[1]. Any help would be much appreciated. Thanks, Dennis, but as I said I was using the command-line compiler and figuring out how to make it do Unicode looked like trouble. Thanks again! ...Show All

  • Visual C# "Flags" Attribute -- Useless???

    Hi everyone, I've read all about the FlagsAttribute and it seems hardly useful. From the examples I've seen and the ones I've written myself, I can see only one simple case where using the FlagsAttribute is different from not using it: When you print an instance of a the " FlagsAttribute "-decorated enum , the resulting string contains the enum constants whose bits are set, rather than showing the underlying numeric value. Have a look at this snippet: [Flags] enum Fred : short { zero, one, two, four = 4, eight = 8 } class C_01 { private static void Main() { Fred f = (Fred)7; Console.WriteLine("f is " + f); } // Main() } // class C_01 When I run this snippet, I see this output: f is one, ...Show All

  • Visual Basic Code to set "manager can update membership list" in ADUC

    I am having a problem getting some code to work in vbscript and vb.net 2005. I have a need to programmatically setup groups with a manager and set that manager with the "manager can update membership list". I have a small script I have put together in vbscript that does set the proper permission, but it doe NOT check the box when you look in ADUC. Here is the vbscript to start: [code] Set objGroup = GetObject("LDAP://CN=tst1,OU=Groups,DC=my,DC=domain") Set objSecDescriptor = objGroup.Get("ntSecurityDescriptor") Set objDACL = objSecDescriptor.discretionaryAcl Set objACE3 = CreateObject("AccessControlEntry") objACE3.Trustee = "domain\user" objACE3.AceFlags = 0 objACE3.AceType = 5 objACE3.Fl ...Show All

  • Visual Studio 2008 (Pre-release) Help, why wcf become very slowly after I refresh some times.

    Hi, All: I need help now, thanks. we use wcf in our web project, yes, now it can work. But After we refresh web page some times, it will become very slowly and timeout at last. we do not kow the reason, and we want to know how we can fix this issue. Thanks. sample code: [DataContract(Namespace = "Company.Core.Services.Patient.PHR.Contracts")] public struct Allergy { private string _conceptCode; [DataMember] public string ConceptCode { get { return _conceptCode; } set { _conceptCode = value; } } ...... } [ServiceContract(Namespace = " http://Company.Core/Patient/PHR/Allergy ")] public interface IAllergy { [OperationContract] Allergies ListByEnvironmentFood(); ....... } ...Show All

  • Visual Basic VB.NET 2005 Binding / DS Help

    Hello, Im currently having trouble trying to bind mssql table to some fields on a test app. Basicly i have my text fields, buttons, dataset though unsure if ive made my dataset correctly. Below this is my code, though ive not worked out update, add, delete as yet. I know I prob dont have enough information on here, but am I in the correct direction and why would it not work, it does not error on a click event just does nothing. Do I have to refill it the text fields are binded to this dataset the first record shows. Please help, and try to keep the answer to a rooks standard please, thank you. PS: Any links with visual dataset setup would be great too, so that i can confirm that I'm doing it correctly. ------------------ ...Show All

  • Visual Basic Parsing a non-delimited(space I imagine) text file

    I have a text file that has been exported from a Progress Database v8.23e (this is an old system, i know) . I need to parse the data to a dataset or XML or anything that has structure heh, any ideas Ive tried multiple threads here on parsing text files as well as searched MSDN/Codezone and they did not work. 0278XX'S XXXXXX PXXXXXX #49 101new multi unit 94919S & W WHOLESALE SAND ACCXXXXXX GRILLED CHICKEN SALAD 5.00EA428565-00 3.95 09/07/06 0278XX'S XXXXXX PXXXXXX #49 101new multi unit 94919S & W WHOLESALE SAND ACCXXXXXX CHICKEN SALAD ON CROISSANT 4.00EA428565-00 3.25 09/07/06 0278XX'S XXXXXX PXXXXXX #49 101new multi unit 94919S & W WHOLESALE SAND ACCXXXXXX CEASAR WRAP ...Show All

  • Visual Studio Express Editions how to align in excel using vb

    Hi. My program is writing data to excel file. I want to know how to align text in columns, change cell background color etc. Where can I find information about that xlws.Columns(1).VerticalAlignment = Left doesn't work thanks Use my suggestion. It should show you exactly what the supported values are. Depending upon what you are coding in you may need to make sure you have a reference and have the namespace imported. ...Show All

  • Visual C# cannot open a connection to VFP Database

    It is a C## Console application in Visual Studio 2005. I have an ODBC VFP 9 database and am trying to establish an OLEDB connection. The error I am getting is " Cannot open file ...." Here is the code: I have this statement in the Project Resource definition Dsn=Visual FoxPro Database;sourcedb=C:\VFP_Projects\DATA\dataBaseVFP1.dbc;sourcetype=DBC; exclusive=No;backgroundfetch=Yes;collate=Machine;null=Yes;deleted=Yes however, I am trying to connect to another database altogether: private ADODB . Connection cnn1 = new ADODB . Connection ( ); string cnStr ; //Connection string. cnStr = "Provider='VFPOLEDB.1';Data Source=D:\\VFP_Projects\\DATA\\Stoxx\\stoxx.dbc;Collating Se ...Show All

©2008 Software Development Network