RyanLeeSchneider's Q&A profile
Windows Live Developer Forums Contest Participant Document
Hi!!! I was wondering if it is possible for all participants of “The World’s Best App” contest to have a document that acknowledges that we participated in this event, even if they (or we) did not win one of the prizes. You know, just a memento or something that we can brag about with, say, our grandchildren or Human Resource Head Hunters. I wonder if the winners have been announced... I'm in a business trip and I forgot to set my personal email in my laptop... I don't know if I am one of the lucky guys to win a copy of the Visual Studio 2005 ...Show All
Visual Studio ReferencePath vbproj.user options
On 01-19-2006, Faisal Mohamood (Program Manager|Visual Studio - MSBuild) said the following: >> A standard visual studio project will automatically import the user file into itself via the Microsoft.Common.targets - so all you have to do is drop the file next to the main project file. As an experiment, try this: Go to project properties page, and specify a reference path for the project, and save the project. You should then be able to see a .csproj.user or .vbproj.user file saved out by Visual Studio. Reference Paths is an example of customization that Visual Studio treats as a user specific property.<< We use the .user fi ...Show All
Visual C++ ostream::seekp not working.
After I converted the following from VC 6.0 to VS 2005, the seekp() call stopped working. Can anyone confirm that this is a bug, or have I configured something incorrectly std::osftream myStream; myStream.open( " myFile ", std::ios_base::out | std::ios_base::app ); myStream << < xml version=\"1.0\" >\n<LogFile>\n"; myStream << "</LogFile>"; . . . myStream.seekp( -10, std::ios::end ); myStream << someText; myStream << "</LogFile>"; The clear() has no affect. According to ...Show All
Windows Forms Unhandled exception? I didn't even write any code yet!
I've been placing controls and setting properties with Visual Studio. Haven't written a single line of code. All of a sudden, I get this error (in a dialog) when I try to open one of my forms: ----- The control System.Window.Forms.TableLayoutPanel has thrown an unhandled exception in the designer and has been disabled. Exception: Item has already been added. Key in dictionary: 'FilterTableLayoutPanel [System.Window.Forms.TableLayoutPanel], BorderStyle: System.Windows.Forms.BorderStyle.None' Key being added: 'FilterTableLayoutPanel [System.Windows.Forms.TableLayoutPanel], BorderStyle: System.Windows.Forms.BorderStyle.No ...Show All
SQL Server escaping a string
hi guys please help me. i've never user stored procs before but here is my problem. this is only what i am allowed to display but it shows my problem declare @suite varchar(10),@company varchar(1) set @suite = 'brutus' set @company = 'A' exec ('insert into tot (SuiteName,Company) values ( '+@suite+','+@company+')' ) when i exec the query it says that "brutus" is an invalid column name. i know that i need to insert a extra ' but i don't know how or what is the escape character. please help me. Hi, this should be accomplishedby this one here: exec ('insert into tot (SuiteNam ...Show All
Visual Basic Shell Commands in VB
hi all i have a small question cant seem to find the answer anywhere. i have been using shell commands to open notepad to view logs and creating a copy of the log so that changes are not saved however i was wondering if it is posible to open the text file as read only e.g. notepad "Log.Log" << thats my current command but its editable and not very safe when it comes to logs. Thanks Stu SD_Stu, The previous response was referring to the Process class in the .Net framework. This wouldn't help you in VBA. But, I don't think Process will help you in this case since using Pr ...Show All
.NET Development Limiting listening socket to a range of available port numbers
I am very close to completing implementation of my FTPS server and client software. One final issue deals with firewalls and NAT. Under SSL the firewall does not provide the normal "assistance" to FTP command channel, such as tweaking NAT, and temporarily opening PASV data ports, which may otherwise be blocked. I have dealt with the NAT issue (each configured listen IP can have a configured "external" IP declared) but now the PORT issue is biting me. I have a couple of ideas. 1) I am thinking I could reserve a range of port numbers based on server configuration. The firewall admin would open those. Problem is I know how to listen o ...Show All
Visual Basic My.Application.Log.WriteEntry writes double entries!
Has anyone had the experience in VB 2005 Beta 2 that when using the FileLog listener, each time My.Application.Log.WriteEntry is called to write a message, the message actually gets written to the <appname>.log file twice The log file is stored in directory "C:\Documents and Settings\<userid>\Application Data\<company name>\<appname>\1.0.0.0" with a file name of <xxx>.log and contains entries as follows: DefaultSource Information 1001 20050718 15:25:53-SPSSearch Starting. DefaultSource Information 1001 20050718 15:25:53-SPSSearch Starting. DefaultSource Information ...Show All
Visual Studio 2008 (Pre-release) Create And Host Custom Designers With
Is there a sample for WPF like this one http://msdn.microsoft.com/msdnmag/issues/06/03/DesignerHosting/default.aspx I want to make a custom designer for the WPF. One of our goals for the WPF Designer in Visual Studio (Cider) is to enable similar scenarios. However the functionality is not available today. You could look at Mobiform's designer which I believe supports hosting their designer as a control What is the scenario you want to enable mark ...Show All
Windows Forms Sending PDFs to a printer
Hi, I am trying to write a web service which will take a few thousands of PDFs from a shared folder and send them to multiple printers for printing. All these should happen without any user intervention. Can anyone teach me how to go about doing that in c# The printdocument class in .NET does not seem to be suitable. Can anyone help me or point me to some other resources I do not have the luxury of buying third party components to assist me on this task. Thank you very much!! I managed to find a way of doing this by calling an external process in my .NET code. Below are the codes that I use. Pro ...Show All
Software Development for Windows Vista a Beginner Cuestion...
Hi, I'm trying to design a solution for a document lifecycle process using de WWF with a stateMachine workflow, but there are some points i still don't understand about using WWF with ASP.NET (my host application). 1. I don't now if use dataActivites or localServices to share information between the WWF and my ASP.NET app. wich is the best way to do this 2. I need persistence in all the cycle that a document can take. I think i can start a WorkFlow every time a document is captured and it finishes when the cycle is closed. The cycle can take days or weeks. How can i keep the state of every document captured in the system (any workflow start ...Show All
.NET Development Problems with creating Structures in .NET
When I try to create the following structure in VB.NET... <StructLayout(LayoutKind.Sequential)> Structure Struct1 <FieldOffset(0)> Public Unk1 As Short <FieldOffset(35), MarshalAs(UnmanagedType.ByValArray, SizeConst:=23)> Public unk2() As Char <FieldOffset(97), MarshalAs(UnmanagedType.ByValArray, SizeConst:=23)> Public unk3() As Char &nb ...Show All
SQL Server SQL CE & @@IDENTITY
If I perform an insert from my Vb.NET and then user select @@IDENTITY to return the identity, the query returns DBNull, even though the row has been inserted and an indentity created. If I perform the same insert from CE Query Analyser followed by the @@IDENTITY then it returns the correct identity value. If I perform the insert from my Vb.Net app, and then go to query analyser and select @@INDENTITY then it returns DBNull. Can anybody explain why I don't get the idendtity when the insert is performed from vb.net The code for insert looks like... Dim Command As String = "INSERT INTO " & TableName & Fields & Val ...Show All
Visual C# Collection was modified; enumeration operation may not execute.
I create method feedingtime(), all animals eat in order of birds, snake and then monkeys. If an animal does not have enough food then report that it. . . escaped. public void Feedtime() { IEnumerator em = animalList.GetEnumerator(); while(em.MoveNext()) { if(em.Current.GetType()==typeof(Bird)) { iFoodPresent -= ((Bird)em.Current).getFoodIntake(); if (iFoodPresent>0) { Console.WriteLine(((Bird)em.Current).ToString()+ " have eaten, left food = "+ iFoodPresent); } else { Console.WriteLine(((Bird)em.Current).ToString()+" escaped"); animalList.Remove((Bird)em.Current); } } ...Show All
Visual C# can someone convert this snipet of VB to c#?? Just Some Simple one (basics)
Hi This shouldn`t be difficult .. but i dont know VB But what does this means... He declare a function named with "Afunction" and then in the body of that fucntion he says.. Afunction= ..... LoL , how does he do that or what does that mean in c# can a name of a function take some value Please tell it what does this means in c# hi, looool i don't know what do you talk about , i guess it will be better if you post the function here best regards ...Show All
