|
though this site basically addresses MS related technologies but if possible,i would request Chris to add sections for Symbian Mobile Development related technologies
Also,some good artcile about Bluetooth Implementation in CF
-adnan
MyBlogs
http://weblogs.com.pk/kadnan
|
|
|
|
|
Any one plz suggest some good articles to learn multi thread programming with examples
Thanks 'n Regards
Nithya..
|
|
|
|
|
|
is it possible to view a Rdl in Crystal Reports
i need more information on report definition language
kindly help me asap
thank you
Prithiv Thirugnanasambandam Vasudevan
|
|
|
|
|
I was wondering if this article would be suitable to post here, as it doesn't really contain any useful code, but is more of a theoretical article about C#/COmega and it's future, and possible improvements:
http://www.netindustry.nl/blog/2005/04/wheres-in-c.html[^]
------------------
spoon? what spoon?
modified 22-Nov-21 21:01pm.
|
|
|
|
|
|
Ok thanks, I'll put it on then...
------------------
spoon? what spoon?
modified 22-Nov-21 21:01pm.
|
|
|
|
|
i want to write a program in c to establish a connection and transfer files between two remote machines using Ftp. Kindly tell me whats the basic idea and how to do it... also suggest any e-book or a tutorial. Thanks!
|
|
|
|
|
I'm trying to make a chat application for an assignment i have......
i'm using java .........
i have 2 files... 1 for the server and a next for the client
the client works fine....i can send messages to the server.........
but i cant send messages to the client from the server........
i'm asking for any help possible.............
here is the SERVER CODE
//set up the gizzle server that will recieve packets from a client
import java.io.*;
import java.net.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class GizzleServer extends JFrame implements ActionListener
{
private JTextArea display;
private JTextField sendMessage;
private JButton sendButton;
private JButton resetButton;
private JLabel javaLabel;
private Color colorValues[]=
{ Color.black,Color.blue,Color.red,Color.green};
private JRadioButtonMenuItem colorItems[],fonts[];
private JCheckBoxMenuItem styleItems[];
private DatagramPacket sendPacket,receivePacket;
private DatagramSocket socket;
public GizzleServer()
{
super("Gizzle Chatter Box Server");
Container c = getContentPane();
//creating IconLabels
/*
Icon javaCup = new ImageIcon("javaIcon.jpg");
javaLabel= new JLabel("java Messenger",javaCup);
javaLabel.setToolTipText("java Messenger");
c.add(javaLabel,BorderLayout.EAST);
*/
//creating buttons
Icon send = new ImageIcon("sendButton.jpg");
Icon sendRollover = new ImageIcon("sendButtonRollover.jpg");
Icon reset = new ImageIcon("resetButton.jpg");
sendButton = new JButton("Send ",send);
sendButton.setRolloverIcon(sendRollover);
resetButton = new JButton("Reset",reset);
c.add(resetButton,BorderLayout.SOUTH);
c.add(sendButton,BorderLayout.WEST);
sendMessage = new JTextField("Server User Type the Message Here");
sendMessage.addActionListener(this);
getContentPane().add(sendMessage,BorderLayout.NORTH);
display = new JTextArea();
getContentPane().add(new JScrollPane(display),BorderLayout.CENTER);
setSize(500,400);
show();
try
{
socket = new DatagramSocket(5000);
} //end of try
catch(SocketException se)
{
se.printStackTrace();
System.exit(1);
}
} //end of constructor
public void waitForPackets()
{
while (true)
{
try
{
//set up packet
byte data[] = new byte[100];
receivePacket = new DatagramPacket(data,data.length);
//wait for packet
socket.receive(receivePacket);
//process packet
display.append("\n" +
"\nFrom Gizzle : " + receivePacket.getAddress() +
"\nGizzle says>>>> \n\t" +
new String(receivePacket.getData(),0,receivePacket.getLength() ) );
display.setCaretPosition(display.getText().length() );
//echo information from back to client
display.append("\n\n Data to Client...");
sendPacket= new DatagramPacket(receivePacket.getData(),receivePacket.getLength(),receivePacket.getAddress(),receivePacket.getPort() );
socket.send(sendPacket);
display.append("Message Succesfull\n");
display.setCaretPosition(display.getText().length() );
}//end of try
catch(IOException io)
{
display.append(io.toString() + "\n" );
io.printStackTrace();
} //end of catch
} //end of while loop
} //end of waitForPackets
public void actionPerformed(ActionEvent e)
{
try
{
display.append("Message being sent" + e.getActionCommand() +"\n");
String s = e.getActionCommand();
byte data[] = s.getBytes();
sendPacket = new DatagramPacket(data,data.length,InetAddress.getLocalHost(),5000);
socket.send(sendPacket);
display.append("Message Sent\n");
display.setCaretPosition(display.getText().length() );
} //end of try
catch(IOException exception)
{
display.append(exception.toString() + "\n");
exception.printStackTrace();
}
}
public static void main(String args[])
{
GizzleServer app = new GizzleServer();
app.addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
}
);
app.waitForPackets();
}//end of p.s.v.m
}//end of main class
THIS IS THE CLIENT CODE
//setup for gizzle client
import java.io.*;
import java.net.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class GizzleClient extends JFrame implements ActionListener
{
private JTextField enter;
private JTextArea display;
private JButton sendButton;
private JButton resetButton;
private Color colorValues[]=
{ Color.black,Color.blue,Color.red,Color.green};
private JRadioButtonMenuItem colorItems[],fonts[];
private JCheckBoxMenuItem styleItems[];
private ButtonGroup fontGroup,colorGroup;
private int style;
private DatagramPacket sendPacket,receivePacket;
private DatagramSocket socket;
public GizzleClient()
{
super("Gizzle Chatter Box Messenger v1.0");
Container c = getContentPane();
//creating buttons
Icon send = new ImageIcon("sendButton.jpg");
Icon sendRollover = new ImageIcon("sendButtonRollover.jpg");
Icon reset = new ImageIcon("resetButton.jpg");
sendButton = new JButton("Send ",send);
sendButton.setRolloverIcon(sendRollover);
resetButton = new JButton("Reset",reset);
c.add(resetButton,BorderLayout.SOUTH);
c.add(sendButton,BorderLayout.WEST);
sendButton.addActionListener(this);
JMenuBar bar = new JMenuBar(); //creating Menu Bar
setJMenuBar(bar); //set the menubar for the JFrame
//create File menu annd Exit menu item
JMenu fileMenu = new JMenu("File");
fileMenu.setMnemonic('F');
JMenuItem aboutItem= new JMenuItem("About Gizzle Chatter...");
aboutItem.setMnemonic('A');
aboutItem.addActionListener(
new ActionListener() {
public void actionPerformed(ActionEvent e)
{
JOptionPane.showMessageDialog(null,"This is Gizzle's Chatter Box V1.0","About Chatter Box",JOptionPane.PLAIN_MESSAGE);
}
}//end of new actionListener
); //end of addActionlistener
fileMenu.add(aboutItem);
bar.add(fileMenu); //add File Menu
JMenuItem exitItem = new JMenuItem("Exit");
exitItem.setMnemonic('x');
exitItem.addActionListener(
new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
JOptionPane.showMessageDialog(null,"GoodBye","Gizzle Chatter Box",JOptionPane.INFORMATION_MESSAGE);
System.exit(0);
}
}
);
fileMenu.add(exitItem);
//create the Format menu
JMenu formatMenu = new JMenu("Look & Feel");
formatMenu.setMnemonic('r');
//creating the COlor submenu
String colors[]= { "Black","Blue","Red","Green"};
JMenu colorMenu = new JMenu("Background Color");
colorMenu.setMnemonic('C');
colorItems= new JRadioButtonMenuItem[colors.length];
colorGroup = new ButtonGroup();
ItemHandler itemHandler = new ItemHandler();
for (int i=0;i<colors.length;i++)
{
="" coloritems[i]="new" jradiobuttonmenuitem(colors[i]);
="" colormenu.add(coloritems[i]);
="" colorgroup.add(coloritems[i]);
="" coloritems[i].addactionlistener(itemhandler);
="" }="" end="" of="" for="" loop
="" coloritems[0].setselected(true);
="" formatmenu.add(colormenu);
="" formatmenu.addseparator();
=""
=""
="" formatmenu.add(fontmenu);
="" bar.add(formatmenu);
="" text="" field="" box
="" enter="new" jtextfield("user="" type="" your="" message="" here");
="" enter.addactionlistener(this);
="" getcontentpane().add(enter,borderlayout.north);
="" display="new" jtextarea();
="" display.setforeground(colorvalues[0]);
="" getcontentpane().add(new="" jscrollpane(display),borderlayout.center);
="" setsize(500,400);
="" show();
="" try
="" socket="new" datagramsocket();
="" }
="" catch(socketexception="" se)="" se.printstacktrace();
="" system.exit(1);
="" constructor
="" public="" void="" waitforpackets()
="" while(true)
="" byte="" data[]="new" byte[100];
="" receivepacket="new" datagrampacket(data,data.length);
="" wait="" packet
="" socket.receive(receivepacket);
="" process="" display.append("\nmessage="" received="" from="" server:---------------------="">>> "+
"\nTo Server: " + receivePacket.getAddress() +
"\nMessage Sent>>>>\n\n\n\n\t " +
new String(receivePacket.getData(),0,receivePacket.getLength() ) );
display.setCaretPosition(display.getText().length() );
} //end of try
catch(IOException exception)
{
display.append(exception.toString() + "\n");
exception.printStackTrace();
} //end of catch
} //end of while loop
} //end of waitForPackets()
public void actionPerformed(ActionEvent e)
{
/*
if (e.getSource()==enter)
{
enter="message here");
}*/
try
{
display.append("\nMessage being sent>>>>" + e.getActionCommand() + "\n");
String s = e.getActionCommand();
byte data[] = s.getBytes();
sendPacket = new DatagramPacket(data,data.length, InetAddress.getLocalHost(),5000);
socket.send(sendPacket);
display.append("Message sent\n");
display.setCaretPosition(display.getText().length());
} //end of try
catch(IOException exception)
{
display.append(exception.toString() + "\n");
exception.printStackTrace();
} //end of catch
} //end of actionPerformed
public static void main(String args[])
{
GizzleClient app= new GizzleClient();
app.addWindowListener( new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
}
);
app.waitForPackets();
}
class ItemHandler implements ActionListener
{
public void actionPerformed (ActionEvent e)
{
for(int i=0;i
|
|
|
|
|
Hi all
Has anyone done any development of desktop sharing across networks /internet?
I would be very interested in any who has or has the skill to write such a product!! (and I know all the others that are free like VNC - but they are no good for this)
Serious Very Experienced Developer needed for this one. And I am willing to pay a reasonable amount for this.
If you think you are the person and very able to do this email me at
ian"at"ianhutty.karoo.co.uk with a rough price.
Basically look at Gotoassit.com or Webex.com (smart-tech by webex) and you will know what I am aiming for.
Regards
IH
|
|
|
|
|
Whats wrong with VNC?
What about:
NetMeeting
PC Anywhere
Goto My PC
Remote Desktop
...so many want to reinvent the wheel.
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
I am actually finishing up writing such a project. It should take me about another 5 months to finalize it.
When writing this project I had WebEx and Network Streaming in mind so it works kinda along the same lines. Hopefully better. My work uses both WebEx and Network Streaming and it does have its issues that mine wont have.
Like both of those my application will work through firewalls and uses .Net Remoting. So if you have outbound only on port 80 that is not a problem.
I can email you the facts about the application if you would like. There will be a gateway that I have built to accompany this package if needed. This offers better performance and security.
But like I said, about another 6 months at least. Only because I am trying to optimize what I do have and fit it for all situations.
Thanks for your post and have a great day.
Steve
|
|
|
|
|
hi,
I am trying to generate a pattern string from a collection of several strings. I have been trying to do this in c# using System.Text.RegulaExpression however not been able to get good results . Following are some details
Consider the following strings
http://www.yahoo.com/weather/1/2/rain.htm
http://www.yahoo.com/weather/1/3/drops.htm
http://www.yahoo.com/weather/1/4/rain.htm
http://www.yahoo.com/sports/2005/1/cricket.asp
http://www.yahoo.com/sports/2005/2/baseball.htm
http://www.yahoo.com/fun/jokes/laughter.htm
now all these are grouped by their domain name and protocol so this could be removed
so we have
1. weather/1/2/rain.htm
2. weather/1/3/drops.htm
3. weather/1/4/rain.htm
4. sports/2005/1/cricket.asp
5. sports/2005/2/baseball.htm
6. fun/jokes/laughter.htm
Now i have to generate a string which could match maximum no. of these urls
for 1,2,3
it'd be
weather/1
for
4,5 the string would be
sports/2
or
sports/2005/
6 is a single string so whole of it would be taken
fun/jokes/laughter.htm
Now if a person is to do it manually no probs problem arises when this things has to be done on the click of a button or on some event and there are not 6 but hundreds of such strings
Any Suggestions on how do attack this problem.
the woods are lovely dark and deep.
but i have promises to keep.
there are miles to go before i sleep...
there are miles to go before i sleep...
|
|
|
|
|
i want to make the email client that send the mail from
someone(anybody pc in sense of hacking) into mail hotmail or the yahoo account. can u tell me how to do that or what API's to use but not component in VB and outlookexpress,
that apis can run on the win32 platform. Can u guide me what to do
Tasleem
ddd
|
|
|
|
|
Tell me how many would be willing to buy a product for 10$.
Here is the Link ... www.speechtoolscenter.com
There are no links for buying yet. we will add a link soon.
this product reads( word,text,html) file, user can record their own commands.
and much more... play's movies ( you can record your own command, like "Play Batman Movie") and it will play the movie, same applies to everything , file, audio files, images...etc.
|
|
|
|
|
hi,
I want to know about crystal reports.If any one has any documentation or any article availabe kindly give the link.I also want to know how to use these crystal reports in .net.
Thanking you in advance.
Satish
|
|
|
|
|
I'm also interested in this topic.
Especially: everything about Crystal Reports is directly associated with getting the information for the reports directly from the database.
I would be interested in how to work with Crystal Reports when the data is provided by business objects.
Claudio
Claudio's Website
|
|
|
|
|
In particular, How would you extend the System.XMl.XmlNode class and then use the new class within the System.XMl.XmlDocument class.
|
|
|
|
|
[deleted - sorry, *I* somehow ended up in the wrong forum ]
Pandoras Gift #44: Hope. The one that keeps you on suffering. aber.. "Wie gesagt, der Scheiss is' Therapie" boost your code || Fold With Us! || sighist | doxygen
|
|
|
|
|
I would love to see some decent information on AutoScale as it pertains to control and program authoring. An article that covers .Net 1.0 through 2.0 would be ideal. Also some sort of tool that could execute programs to display as if using a different DPI setting would make testing a lot easier. I know this is a lot to ask, but there seems to be a lack of information on this out there, and testing requires restarting!
|
|
|
|
|
Apologies if this is not the right group to post.
I am about to post a tutorial on programming the Windows 2000 ACL editor (in C++). However, the tutorial is running rather long, and I am wondering if I should split the article into a two or three part series.
Here's what I currently have in the tutorial:
1. (optional) A brief description of SECURITY_DESCRIPTOR and SECURITY_DESCRIPTOR_RELATIVE , and their differences.
2. (optional) A description of the ACL.
3. A brief description of the ACL Editor (from the programming perspective).
4. Implementing the ISecurityInformation methods.
ISecurityInformation::SetSecurity() (this is where most of my article will be focused).
This has already taken up to 3500 words already (35K, excluding code), and I haven't even started talking about the ISecurityInformation::SetSecurity() method (which I expect to take most of my content)!
Do you think I should post this article as a two part series?
Advantages if I split the article:
1. I won't need to jettison any content from my article. In fact I will be able to add in some stuff about General access control, how to enumerate them, how to build them, and include some information on the new System.Security.AccessControl classes (and maybe Keith brown's code).
2. C#/VB/.Net programmers will then find the article useful.
3. The reader won't be so intimidated by the horde of information that they have to read.
4. I will have covered everything, so the reader won't be left confused and asking "WTH is a SECURITY_DESCRIPTOR ?".
5. Reviews and feedback will be easier for the reader (since you can say "the first article woz teh suck", but the "second article had teh 1337!")
Disadvantages if I split the article into a series:
1. It will take me longer to author.
2. Perhaps it's too long because I suck at writing (but you alrady knew that just by reading this post! ).
3. I'm writing about two separate distinct topics (general authorization, and programming the ACLUI), and that's why my article is so long (but that means I should post 2 articles!).
4. Maybe I should redirect the users to other tutorials instead of rewriting about Access control (does anyone know any articles about the security descriptor?).
If I hear no feedback, then I will go ahead and split the article in two (or 3).
Tia
|
|
|
|
|
From your description, I would split it into two parts:
1 - cover all the details of ACLs: definitions, structs, APIs, interfaces, etc.
2 - talk about the ACL editor
That way part 2 builds on part 1, but people who already know about ACLs can jump right to part 2.
--Mike--
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD
|
|
|
|
|
Thank you Mr Dunn. I will split my article in two as you suggest.
|
|
|
|
|
Dear members,
This is not a specific tec doubts. This all about your experience and your way of dealing the issue.
Brief idea:
We have an application which uses Sybase database as Backend and Dotnet( C# Lan) as Front-End. This application uses IAnywhere.Data.AsaClient.dll (managed provider for Sybase db). This application is a small supporting module for our ERP which is developed using Power Builder.
Real requirement.
Now we are deciding to make this application as a pluggable for our ERP and also can plugged into other ERPS or applications, which have raw data needed to run our pluggable application.
Here the raw data ( data required to run this pluggable application ) may be in different database ( Db2,Sql Server,Oracle,Sybase etc). But now we don't have any interface or mechanism to pull the data from other Databases into my data base with required form (field name and data types).
What will be the better solution to make my product as pluggable for other application. ?
What is the real industry standard to tackle this sort of scenarios. ?
If you need to face this issue, what you will prefer to get out of this ?
How will i make a Data Pipe kind of mechanism to get required data in required form from other databases ?
Please do comment for this query. Your post will be most appreciable.
Sreejith Nair
[ My Articles ]
|
|
|
|
|
for data migration from one DB to another, there is a DTS package which you can automate via SQL DMO. another solution is make an intermediate flat file to transfer the data between different databases. you must write one tool to export the data from different Databases in to a flat file(xml is a better choice), and after that you can parse that File and you can update your database.
Ninety-eight percent of the thrill comes from knowing that the thing you designed works, and works almost the way you expected it would. If that happens, part of you is in that machine.
|
|
|
|
|