tag:feedback.developerfusion.com,2008-02-07:/activityDeveloper Fusion on UserVoice2012-02-02T14:29:44-08:00tag:feedback.developerfusion.com,2008-02-07:Event/106742032012-02-02T14:29:44-08:002012-02-02T14:29:44-08:00Dim b(b1.Length + b2.Length - 3) As Byte<p>Mark suggested:<br />VB
Dim b(b1.Length + b2.Length - 3) As Byte
Converted C#
byte[] b = new byte[b1.Length + b2.Length - 2];
Why is it changing my math?
I've been using this converter to teach myself C#. Great tool.</p>Marktag:feedback.developerfusion.com,2008-02-07:Event/106724782012-02-02T10:12:38-08:002012-02-02T10:12:38-08:00Cannont convert Nullable property using ?<p>Kyle Schultz suggested:<br />When trying to convert from VB.Net to C# (or vice versa), if you have a nullable property that is created using the ? and not Nullable<> the post back on your page is not ready correctly.
Public Property CurrentDate As DateTime?
I should be able to pass that and get
public DateTime? CurrentDate { get; set; }</p>Kyle Schultztag:feedback.developerfusion.com,2008-02-07:Event/106535772012-01-30T17:55:11-08:002012-01-30T17:55:11-08:00I cannot convert VB.net to C#.netphannytag:feedback.developerfusion.com,2008-02-07:Event/105650312012-01-16T09:49:20-08:002012-01-16T09:49:20-08:00I have a problem converting this code:<p>Gromhelm suggested:<br />public static readonly DependencyProperty ProgressProperty = DependencyProperty.RegisterAttached("Progress", typeof(double), typeof(ViewportAnimation), new PropertyMetadata(0.0, new PropertyChangedCallback(delegate(DependencyObject o, DependencyPropertyChangedEventArgs e) { ((ViewportAnimation)o).ProgressChanged(e); }))); VB.Net Converter gives me this:
Public Shared ReadOnly ProgressProperty As DependencyProperty = DependencyProperty.RegisterAttached("Progress", GetType(Double), GetType(ViewportAnimation), New PropertyMetadata(0.0, New PropertyChangedCallback(Function(o As DependencyObject, e As DependencyPropertyChangedEventArgs) Do
DirectCast(o, ViewportAnimation).ProgressChanged(e)
End Function)))
There seems to be a problem converting the function, but I don't know how to solve it.</p>Gromhelmtag:feedback.developerfusion.com,2008-02-07:Event/105588342012-01-15T08:01:16-08:002012-01-15T08:01:16-08:00Service Down [updated]<p>"Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists".</p><p>tb said:<br /><div class="ugc"><p>I'm getting this message again.</p></div></p>tbtag:feedback.developerfusion.com,2008-02-07:Event/105493602012-01-13T06:23:20-08:002012-01-13T06:23:20-08:00LINQ VB.Net -> C# (where clause)<p>Some dude suggested:<br />In this case, the converter doesn't work
p.s. this syntaxe is valid in VB.Net
From a In ListOfA
Select a
Where a Is A
If we change the Where clause position, just like we do in C# in fact, it works :
From a In ListOfA
Where a Is A
Select a</p>Some dudetag:feedback.developerfusion.com,2008-02-07:Event/105477622012-01-12T23:13:00-08:002012-01-12T23:13:00-08:00Convert this to vb<p>imperialx suggested:<br />CloudStorageAccount.SetConfigurationSettingPublisher((configName, configSetter) =>
{
configSetter(ConfigurationManager.AppSettings[configName]);
});</p>imperialxtag:feedback.developerfusion.com,2008-02-07:Event/104999752012-01-05T03:06:59-08:002012-01-05T03:06:59-08:00C# to VB .Net conversion fails [is now completed]<p>Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists.
Trying since last one hour. Still the same.</p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/104999742012-01-05T03:06:59-08:002012-01-05T03:06:59-08:00C# to VB .Net conversion fails [updated]<p>Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists.
Trying since last one hour. Still the same.</p><p>james.crowley (admin) responded:<br /><div class="ugc"><p>This has been fixed now</p></div></p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/104992112012-01-04T23:14:42-08:002012-01-04T23:14:42-08:00C# to VB .Net conversion fails [updated]<p>Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists.
Trying since last one hour. Still the same.</p><p>Pradeep K. said:<br /><div class="ugc"><p>Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists.</p>
<p>Trying since last one hour. Still the same.</p></div></p>Pradeep K.tag:feedback.developerfusion.com,2008-02-07:Event/104713032011-12-30T06:39:17-08:002011-12-30T06:39:17-08:00Pointers don't get converted properly<p>haiyyu suggested:<br />This line of code:
int* a = &b;
gets converted into this:
Dim a As Pointer(Of Integer) = AddressOfb
As you can see, there is a space missing between AddressOf and b.</p>haiyyutag:feedback.developerfusion.com,2008-02-07:Event/104660502011-12-29T05:09:14-08:002011-12-29T05:09:14-08:00when converting string functions to vb it suggests to use string.* wich do not exists<p>Wilfred suggested:<br />When converting the followong vb code to c# it suggests to use strings.mid() function in c# wich appears not to exists.
Private Sub stringmid(ByVal str As String)
Dim mystr As String
mystr = Mid(str, 2)
End Sub
converts to
private void stringmid(string str)
{
string mystr = null;
mystr = Strings.Mid(str, 2);
}</p>Wilfredtag:feedback.developerfusion.com,2008-02-07:Event/104548992011-12-26T23:05:23-08:002011-12-26T23:05:23-08:00Convert video to Flash on Mac<p>AlexYu suggested:<br />Flash FLV/SWF Web Video Creator Mac can help Customize Flash video, like: select control bar and skin for the flash player, add special effect, preloader template and add image or text, insert clickable URL in flash video, also provides some common editing functions: clip, crop, trim, split, apply effect, set output parameter, merge, join, slide, snapshot, rotate etc on Mac Lion. If you want to convert your Flash SWF video back to common video files, you can turn to SWF Converter for Mac
For detailed informaton, please visit http://www.iorgsoft.com/Flash/video-to-flash-web-video-creator-mac.html</p>AlexYutag:feedback.developerfusion.com,2008-02-07:Event/104344932011-12-21T12:40:17-08:002011-12-21T12:40:17-08:00directcast [updated]<p>The c# line converted to
DayPilotMonth1.StartDate = (DateTime)e.Data["start"];
DayPilotMonth1.StartDate = DirectCast(e.Data("start"), DateTime)
give the error Value of type 'DayPilot.Json.JsonData' cannot be converted to 'Date'.
Changting this to ctype fixed the problem</p><p>Simon said:<br /><div class="ugc"><p>Thank you</p></div></p>Simontag:feedback.developerfusion.com,2008-02-07:Event/104109742011-12-16T08:36:41-08:002011-12-16T08:36:41-08:00Service Down [is now completed]<p>"Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists".</p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/104109732011-12-16T08:36:41-08:002011-12-16T08:36:41-08:00Service Down [updated]<p>"Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists".</p><p>james.crowley (admin) responded:<br /><div class="ugc"><p>Sorry about that - fixed now</p></div></p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/103279152011-12-01T01:47:51-08:002011-12-01T01:47:51-08:00Add ability to mark a problem as solved to ease helping devs [updated]<p>I would find it easier if posts were marked as solved so i could concentrate on the ones that were unsolved</p><p>frankqi said:<br /><div class="ugc"><p>PDF Converter Pro for Mac is one of the most powerful and user-friendly PDF conversion tools, which is specially designed for Mac fans to convert PDF source files into Office formats, EPUB, HTML, and Text on Mac OS X. </p>
<p><a href="http://www.anymediaeditor.com/pdf-converter-pro-mac.php" rel="nofollow" target="_blank">http://www.anymediaeditor.com/pdf-converter-pro-mac.php</a></p></div></p>frankqitag:feedback.developerfusion.com,2008-02-07:Event/103279132011-12-01T01:47:26-08:002011-12-01T01:47:26-08:00DF works half my work [updated]<p>I am a VB as well as C# dev......
So I need to convert big codes at one to from VB to C# and vice-versa......
So DF is one of my best friends in this work
But I found a small bug.....
It prints "Strings.Format" while Converting from "String.Format"......So VS is reporting error........</p><p>frankqi said:<br /><div class="ugc"><p>PDF Converter Pro for Mac is one of the most powerful and user-friendly PDF conversion tools, which is specially designed for Mac fans to convert PDF source files into Office formats, EPUB, HTML, and Text on Mac OS X. </p>
<p><a href="http://www.anymediaeditor.com/pdf-converter-pro-mac.php" rel="nofollow" target="_blank">http://www.anymediaeditor.com/pdf-converter-pro-mac.php</a></p></div></p>frankqitag:feedback.developerfusion.com,2008-02-07:Event/103279022011-12-01T01:45:00-08:002011-12-01T01:45:00-08:00SWF Converter Mac, Mac SWF Converter, SWF Video Converter for Mac, SWF Converter for Mac [updated]<p>SWF Converter Mac is the unique and professional software designed for Mac users to convert Flash SWF video files to AVI, WMV, MP4, MOV, FLV, MPG, MP3, etc.
http://www.swfconverterformac.com</p><p>frankqi said:<br /><div class="ugc"><p>PDF Converter Pro for Mac is one of the most powerful and user-friendly PDF conversion tools, which is specially designed for Mac fans to convert PDF source files into Office formats, EPUB, HTML, and Text on Mac OS X. </p>
<p><a href="http://www.anymediaeditor.com/pdf-converter-pro-mac.php" rel="nofollow" target="_blank">http://www.anymediaeditor.com/pdf-converter-pro-mac.php</a></p></div></p>frankqitag:feedback.developerfusion.com,2008-02-07:Event/103175292011-11-29T12:02:08-08:002011-11-29T12:02:08-08:00Convert to VB.net [updated]<p><script language="javascript">
function openPopup(strOpen)
{
open(strOpen, "Info",
"status=1, width=300, height=200, top=100, left=300");
}
</script>
This won't convert to vb.net</p><p>Jessica C said:<br /><div class="ugc"><p>error: line 1 col 1: EOF expected</p></div></p>Jessica Ctag:feedback.developerfusion.com,2008-02-07:Event/103175212011-11-29T12:01:38-08:002011-11-29T12:01:38-08:00Convert to VB.net<p>Jessica C suggested:<br /><script language="javascript">
function openPopup(strOpen)
{
open(strOpen, "Info",
"status=1, width=300, height=200, top=100, left=300");
}
</script>
This won't convert to vb.net</p>Jessica Ctag:feedback.developerfusion.com,2008-02-07:Event/102818272011-11-23T05:20:56-08:002011-11-23T05:20:56-08:00BitWise operations<p>NicoJuice suggested:<br />public bool IsInRole(Role role) {
Role userRole = (Role)this.Role;
return ((userRole & role) == role);
}
[Flags]
public enum Role {
Student = 1, // 0001
Employer = 2, // 0010
Staff = 4, // 0100
Admin = 8 // 1000
}</p>NicoJuicetag:feedback.developerfusion.com,2008-02-07:Event/102400572011-11-16T08:22:17-08:002011-11-16T08:22:17-08:00Function declaration doesn't convert [updated]<p>The following returns an error:
"-- line 1 col 1: EOF expected" - Why would an EOF be expected at the beginning of the code to be translated??? Here is the code:
Function xmlAddElement(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs, ByVal strID As String, ByVal strErrType As String) As XElement</p><p>james.crowley (admin) responded:<br /><div class="ugc"><p>Hey - try adding an End Function to the code - that should do the trick.</p></div></p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/102330432011-11-15T09:28:17-08:002011-11-15T09:28:17-08:00Function declaration doesn't convert<p>Fletcher suggested:<br />The following returns an error:
"-- line 1 col 1: EOF expected" - Why would an EOF be expected at the beginning of the code to be translated??? Here is the code:
Function xmlAddElement(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs, ByVal strID As String, ByVal strErrType As String) As XElement</p>Fletchertag:feedback.developerfusion.com,2008-02-07:Event/102243472011-11-14T04:11:18-08:002011-11-14T04:11:18-08:00DF works half my work<p>Writ-Z suggested:<br />I am a VB as well as C# dev......
So I need to convert big codes at one to from VB to C# and vice-versa......
So DF is one of my best friends in this work
But I found a small bug.....
It prints "Strings.Format" while Converting from "String.Format"......So VS is reporting error........</p>Writ-Ztag:feedback.developerfusion.com,2008-02-07:Event/101499882011-11-02T01:55:36-07:002011-11-02T01:55:36-07:00SWF Converter Mac, Mac SWF Converter, SWF Video Converter for Mac, SWF Converter for Mac<p>sunderland2011 suggested:<br />SWF Converter Mac is the unique and professional software designed for Mac users to convert Flash SWF video files to AVI, WMV, MP4, MOV, FLV, MPG, MP3, etc.
http://www.swfconverterformac.com</p>sunderland2011tag:feedback.developerfusion.com,2008-02-07:Event/101139392011-10-27T00:45:46-07:002011-10-27T00:45:46-07:00return objDataAccess.GetDataSet.Tables(0); [updated]<p>return objDataAccess.GetDataSet.Tables(0);</p><p>IMRAN SAEED said:<br /><div class="ugc"><p>VB.net Code= Return objDataAccess.GetDataSet.Tables(0) working fine
<br />But
<br />C#.Net Code= return objDataAccess.GetDataSet.Tables(0); not working fine.Mistake is here in C#
<br />Non-Invocable member System.Data.Dataset.Tables cannot be used like a method</p></div></p>IMRAN SAEEDtag:feedback.developerfusion.com,2008-02-07:Event/101139242011-10-27T00:42:32-07:002011-10-27T00:42:32-07:00return objDataAccess.GetDataSet.Tables(0);<p>IMRAN SAEED suggested:<br />return objDataAccess.GetDataSet.Tables(0);</p>IMRAN SAEEDtag:feedback.developerfusion.com,2008-02-07:Event/100983412011-10-25T03:34:53-07:002011-10-25T03:34:53-07:00Full project conversion [is now completed]<p>Would be awesome to upload a pile of files, having them spit back out in converted form</p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/100983402011-10-25T03:34:53-07:002011-10-25T03:34:53-07:00Full project conversion [updated]<p>Would be awesome to upload a pile of files, having them spit back out in converted form</p><p>james.crowley (admin) responded:<br /><div class="ugc"><p>We've now implemented this - let us know how you get on!</p></div></p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/100598352011-10-20T19:40:43-07:002011-10-20T19:40:43-07:00Import DVD to Final Cut Pro - How to convert DVD to FCP for editing with DVD to Final Cut Pro Conver [updated]<p>
"I have many DVDs and I want to import DVD to FCP for making my own movies, but I have tried many times, I can't convert DVD to Final Cut Pro directly, is there anybody could help me to convert DVD to FCP?" Somebody asked in Yahoo.
FCP(Final Cut Pro) is a professional non-linear editing software application developed by Macromedia Inc. and then Apple Inc. Final Cut Pro also supports mixed video formats (both resolution and framerate) in the timeline with real time support. You can use FCP edit videos. But DVD can't imported by FCP, so you must convert DVD to FCP.
Mac DVD to FCP Converter is the best assistant for you to convert DVD to FCP. By using this DVD to FCP for Mac, you can convert DVD to FCP compatible formats like any QuickTime video formats. The next step is easily import DVD to Final Cut Pro for editing. During conversion, you should't worry about the video quality loss.
DVD to FCP Converter not only can convert DVD to FCP but also can convert DVD to iMovie, convert DVD to FCE, convert DVD to other popular video formats such as AVI, MP4, MPEG etc. After conversion, you can watch your own movies on iPod, iPod nano, iPod classic, iPod shuffle, iPod touch, iPhone, iPhone 3G, Apple TV, BlackBerry etc and other video and audio player.
http://dvdripper.onapplemac.com/how-to-import-dvd-into-final-cut-pro.php
</p><p>healthybaby said:<br /><div class="ugc"><p>Step by Step Guide on How to Convert and Import DVD to FCP/FCE at <a href="http://www.bigasoft.com/articles/how-to-convert-dvd-to-dv-to-import-dvd-to-fcp.html" rel="nofollow" target="_blank">http://www.bigasoft.com/articles/how-to-convert-dvd-to-dv-to-import-dvd-to-fcp.html</a></p>
<p> The following will present a step by step guide on how to convert DVD to DV for import DVD to Final Cut Pro.
<br /> This guide applies to converting all kinds of DVD to DV whatever it is in VOB, MPEG-2 or MPEG-1 format.
<br /> This guide also applies to rip DVD to DV for import to Final Cut Express or iMovie.
<br /> Besides convert DVD to DV, the software in this guide also can convert DVD to MP4 for playback DVD on iPad/iPhone/iPod/Apple TV/iTunes.
<br /> The powerful DVD to DV converter also can rip DVD to MOV for playback DVD in QuickTime without DVD Disc loaded.
<br /> Moreover, the software in this guide also can convert DVD to H.264, AVI, DivX, Xvid, WMV, FLV, MKV, 3GP, MOD, RM, MTS and more video formats or rip DVD to MP3, WMA, AAC, WAV, OGG, FLAC, APE, M4A, RA, AC3, MP2, and AMR and more audio formats</p></div></p>healthybabytag:feedback.developerfusion.com,2008-02-07:Event/100211462011-10-15T14:46:37-07:002011-10-15T14:46:37-07:00should provide the conversion in following way such as VB.NET to C# 1.0, 2.0 and so on... [updated]<p>There should be an option to convert the vb.net to c# 1.0 , vb.net to c# 2.0 and so on because there is lot of difference come with new release of C# if some one wants in old it will help the user</p><p>Anonymous said:<br /><div class="ugc"><p>thank you</p></div></p>Anonymoustag:feedback.developerfusion.com,2008-02-07:Event/100077532011-10-13T10:39:16-07:002011-10-13T10:39:16-07:00Increase font size of PDF output<p>Anonymous suggested:<br />Currently the PDF edition of any article renders in a very small font size (probably close to 8pt Helvetica), which when printed is almost too small to read.</p>Anonymoustag:feedback.developerfusion.com,2008-02-07:Event/99489632011-10-04T13:14:41-07:002011-10-04T13:14:41-07:00i++; fails<p>Gutte suggested:<br />When converting the following from C# to VB.NET it fails to convert correctly.
int i=5;
int j=i++;
//i=6 and j=5
It sets Dim j = System.Math.Max(System.Threading.Interlocked.Increment(i),i-1)
Not possible for i-1 to be greater than i+1</p>Guttetag:feedback.developerfusion.com,2008-02-07:Event/99414382011-10-03T13:27:46-07:002011-10-03T13:27:46-07:00Implementing an Interface<p>Logan Young suggested:<br />C# code to implement an interface:
using System.ServiceModel;
[CallbackBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)]
internal class Callback : MyInterface
Did not convert properly to VB.NET. The conversion had "Inherits MyInterface". It should've had "Implements MyInterface"</p>Logan Youngtag:feedback.developerfusion.com,2008-02-07:Event/98889492011-09-27T01:06:13-07:002011-09-27T01:06:13-07:00New version doesnt work in IE7 [updated]<p>The old version used work fine but when you changed converter to add Ruby and other tabs now I always get below error when click on convert button
---------------------------
Windows Internet Explorer
---------------------------
Internet Explorer cannot open the Internet site http://www.developerfusion.com/tools/convert/vb-to-csharp/.
Operation aborted
---------------------------
OK
---------------------------
</p><p>Tommy Long said:<br /><div class="ugc"><p>The site is working again in IE9 now, thank you</p></div></p>Tommy Longtag:feedback.developerfusion.com,2008-02-07:Event/98889472011-09-27T01:05:44-07:002011-09-27T01:05:44-07:00Go back to the old Dev Fusion... [updated]<p>Not too keen on this new one when the old one worked perfectly. Too hard to navigation and it seems very closed-scope.</p><p>Tommy Long said:<br /><div class="ugc"><p>The site is working again on IE9, thanks guys</p></div></p>Tommy Longtag:feedback.developerfusion.com,2008-02-07:Event/98705552011-09-23T14:11:47-07:002011-09-23T14:11:47-07:00New version doesnt work in IE7 [updated]<p>The old version used work fine but when you changed converter to add Ruby and other tabs now I always get below error when click on convert button
---------------------------
Windows Internet Explorer
---------------------------
Internet Explorer cannot open the Internet site http://www.developerfusion.com/tools/convert/vb-to-csharp/.
Operation aborted
---------------------------
OK
---------------------------
</p><p>Tommy said:<br /><div class="ugc"><p>I'm not sure how related it is, but in IE9 the site is unworkable, as mentiond here: <a href="http://feedback.developerfusion.com/forums/2418-general/suggestions/156049-go-back-to-the-old-dev-fusion-?ref=title" rel="nofollow" target="_blank">http://feedback.developerfusion.com/forums/2418-general/suggestions/156049-go-back-to-the-old-dev-fusion-?ref=title</a></p></div></p>Tommytag:feedback.developerfusion.com,2008-02-07:Event/98705262011-09-23T14:08:11-07:002011-09-23T14:08:11-07:00Go back to the old Dev Fusion... [updated]<p>Not too keen on this new one when the old one worked perfectly. Too hard to navigation and it seems very closed-scope.</p><p>Tommy Long said:<br /><div class="ugc"><p>That's only the half of it, what happened to the site!? You've destroyed it on IE9 guys!! The website is literally unusable - I only found my way to this section of the site by trawling through the HTML source!</p>
<p>See screenshot: <a href="http://i198.photobucket.com/albums/aa92/Smudge202/Misc/bcae70a0.png" rel="nofollow" target="_blank">http://i198.photobucket.com/albums/aa92/Smudge202/Misc/bcae70a0.png</a></p></div></p>Tommy Longtag:feedback.developerfusion.com,2008-02-07:Event/98286632011-09-19T23:09:41-07:002011-09-19T23:09:41-07:00The Converter is not working...VB to C#<p>urgent suggested:<br />The Converter is not working...VB to C#</p>urgenttag:feedback.developerfusion.com,2008-02-07:Event/97754122011-09-15T16:38:32-07:002011-09-15T16:38:32-07:00Getting error message from conversion [is now completed]<p>Getting several messages "Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists". This just started today 9/15/2011. Having issues with server?</p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/97754112011-09-15T16:38:32-07:002011-09-15T16:38:32-07:00Getting error message from conversion [updated]<p>Getting several messages "Sorry, the service appears to be down at the moment. Please try again later - or contact us if the problem persists". This just started today 9/15/2011. Having issues with server?</p><p>james.crowley (admin) responded:<br /><div class="ugc"><p>Hi Rick - this should be fixed now, but please do let us know if you see it again.</p></div></p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/97659922011-09-14T08:55:42-07:002011-09-14T08:55:42-07:00This Linq statement doesn't translate from VB to C# [is now completed]<p> Dim Table1() As String = {"One", "Two", "Three"}
Dim Table2() As String = {"One", "Three", "Four"}
Dim Results = From Value In Table1 Where Not Table2.Contains(Value)
The resulting C# for the Linq is just
var Results = ;</p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/97659912011-09-14T08:55:42-07:002011-09-14T08:55:42-07:00This Linq statement doesn't translate from VB to C# [updated]<p> Dim Table1() As String = {"One", "Two", "Three"}
Dim Table2() As String = {"One", "Three", "Four"}
Dim Results = From Value In Table1 Where Not Table2.Contains(Value)
The resulting C# for the Linq is just
var Results = ;</p><p>james.crowley (admin) responded:<br /><div class="ugc"><p>This is fixed.</p></div></p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/97659862011-09-14T08:54:52-07:002011-09-14T08:54:52-07:00X = new ColorBlend(4); X.Colors = { C2, C3, C3, C2 }; [is now completed]<p>I am getting a huge error here . . .please if anyone knows how to correct this leave a quick feedback!
X = new ColorBlend(4);
X.Colors = {
C2,
C3,
C3,
C2
};</p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/97659852011-09-14T08:54:52-07:002011-09-14T08:54:52-07:00X = new ColorBlend(4); X.Colors = { C2, C3, C3, C2 }; [updated]<p>I am getting a huge error here . . .please if anyone knows how to correct this leave a quick feedback!
X = new ColorBlend(4);
X.Colors = {
C2,
C3,
C3,
C2
};</p><p>james.crowley (admin) responded:<br /><div class="ugc"><p>This appears to work fine for us now? Let me know if you are still getting the problem - please post before/after code. Thanks</p></div></p>james.crowleytag:feedback.developerfusion.com,2008-02-07:Event/97355112011-09-08T21:55:30-07:002011-09-08T21:55:30-07:00SQL to LINQ [updated]<p>Hey guys i am really happy with your toolbox services.
I think you need to think on converting SQL queries into LINQ format. So it will be very helpful to users.
Isn't it..?</p><p>Mohit Patel said:<br /><div class="ugc"><p>Yes its a good Idea........</p></div></p>Mohit Pateltag:feedback.developerfusion.com,2008-02-07:Event/97355102011-09-08T21:54:57-07:002011-09-08T21:54:57-07:00SQL to LINQ<p>Mohit Patel suggested:<br />Hey guys i am really happy with your toolbox services.
I think you need to think on converting SQL queries into LINQ format. So it will be very helpful to users.
Isn't it..?</p>Mohit Pateltag:feedback.developerfusion.com,2008-02-07:Event/97187172011-09-06T13:01:52-07:002011-09-06T13:01:52-07:00CS -> VB lamba quirk<p>John Wood suggested:<br />C# implementation:
Array.ForEach(
Enum.GetNames(typeof(LightStyle)),
s => m_lightstyle.Items.Add(new ListItem(s))
);
Due to VB inline functions requiring a return value, here is probably a better interpretation.
VB Implementation:
For Each s As String In [Enum].GetNames(GetType(LightStyle))
Me._lightStyle.Items.Add(New ListItem(s))
Next
</p>John Woodtag:feedback.developerfusion.com,2008-02-07:Event/96915902011-09-02T04:51:56-07:002011-09-02T04:51:56-07:00when converting from VB to C# translate AND to && - important bug that woul dbe very hard to pick up<p>Andrei Chevenkov suggested:<br />AND in VB translates to && in C# in most if exoressions</p>Andrei Chevenkov