I apologize. My bad.... And I agree to the MSDN is not always the best but for beginners, it does provide a good start.... After understanding the codes on MSDN they can always try and improvise...
ankitjoshi24
Posts
-
Rundom function -
Rundom functionJust use the Sytem.Random class, assign random numbers to two integer variables and in the if statement make sure that you create another random number by checking the statement to be between the first two random numbers. but you need to make sure if both are positive or one is negative. You will get help on this over here: - http://www.javadocexamples.com/java/util/java.util.Random.html[^] Javadoc is the most helpful thing for any java developers. So always visit javadoc and try to find your answers
-
Socket ExceptionI think you link should help him out. I went thru it and msdn is always helpful
-
firewall implementationBefore asking for the whole code, why don't you first try it yourself and then if you have difficulties, people here will be happy to help. But asking for codes directly is not good. No one here is working for you we are just wanting to help those who help themselves..........
-
sending sms from mobile to gmail inboxI like your answer............ People need to read before posting or asking questions......
-
hi need help plzzzzzzzzzI second your thoughts Thomas. He does not even seem to be interested in replying our feeds.
-
Help Silverlight DatagridHey I found a link which is from codeproject itself. This link has a source code which should help you to understand and learn more about the datagrid in silverlight. http://www.codeproject.com/Articles/83906/Silverlight-4-Datagrid-Sorting-Grouping-Filtering-.aspx[^] Hope this is helpful -- AJ
-
Represent a hierarchy in a TreeView from MSSQL databaseI am not sure how much helpful this is but I found something which could be helpful. Hope the following link is helpful and do let me know if it wrosk :-) http://www.vbdotnetheaven.com/UploadFile/rohatash/6004/[^] Also I found the following code which may help too: - public class MyTreeView : TreeView { public static bool GetIsRootNode(DependencyObject obj) { return (bool)obj.GetValue(IsRootNodeProperty); } public static void SetIsRootNode(DependencyObject obj, bool value) { obj.SetValue(IsRootNodeProperty, value); } public static readonly DependencyProperty IsRootNodeProperty = DependencyProperty.RegisterAttached("IsRootNode", typeof(bool), typeof(MyTreeView), new UIPropertyMetadata(false)); protected override void PrepareContainerForItemOverride( DependencyObject element, object item) { SetIsRootNode(element, true); base.PrepareContainerForItemOverride(element, item); } } -- AJ
-
how to record a video in java?I am not sure why you need this but I think I can still help you.... I have a peace of code, hope you understand that code and apply it appropriately ============CODE=============== CaptureDeviceInfo di = null; try{ MediaLocator loc= new MediaLocator("vfw://0"); p=Manager.createRealizedPlayer(loc); p.start(); f = new JFrame(); t.setTitle("StuMgtSystem Java:Lecture"); t.setLayout(new BorderLayout()); t.add("South", p.getControlPanelComponent()); // Adding the Visual Component to display Video captured by Player // from URL provided by MediaLocator t.add(p.getVisualComponent(), BorderLayout.CENTER); t.pack(); t.setSize(200, 100); t.setVisible(true); t.setTitle("Capturing ON"); }catch(Exception e){ e.printStackTrace(); } =========== END of CODE========== I am not sure if I can help you further but hope this works for you as it does work for others
-
hi need help plzzzzzzzzzIt would be better if you tell us what is kind of a database it is and if you don't want to show it on data grid view, then where do you want it to be displayed?