|
Hello
Subject :how to use port forwarding
Internet------> Router in my network ------->LocalMachine(Windows
2003) -->Sqlserver2005
How access sqlserver through internet via Router in local network.
My router IP Address is =192.168.1.86;
My local machine which is connected to the router Ip Address is=
192.168.1.81
At port No=1433
tell me how to use port forwarding
Thanks for help in advance
Reply
email Add: manish.m.meshram@gmail.com
|
|
|
|
|
|
You can also get instructions for specific models of routers from portforward.com[^]
--Mike--
Dunder-Mifflin, this is Pam
|
|
|
|
|
In my system one serial port available.
In that I can receive data from other device but I can't send the any data from PC to Machine.
I was check following.
1. Cable is working or not. [It is working in other system]
2. Device is working or not. [It is working in other system]
3. software is working or not. [It is working in other system]
How can i come out from this problem please help me.
Thanks in advance.
|
|
|
|
|
Hi,
You provided insufficient information to work on. Here are some of the possibilities:
1. your cable or target device is unreliable, it works only sometimes.
2. your voltage levels don't really match; the machine it is not working on is not getting at a sufficient voltage level (may well happen with cheap and/or long cables).
3. your transmitter is defective.
4. your transmitter is programmed in such way that it requires a "go ahead" signal to start transmitting; i.e. you have enabled dataflow control (either by hardware DTR/DSR/CTS/RTS or by software CTRL/Q or equivalent), and the target (or the cable) is not providing the go ahead.
etc.
There are two ways to get this solved:
1. accurate observations, using voltmeter, oscilloscope, whatever it takes to get real facts.
2. using redundant equipment: have a short null-modem cable and let this PC talk to another one
(use HyperTerminal), to verify the port transmits at all. Then include your current cable. etc.
|
|
|
|
|
What kind of device are you connecting to? If its another PC you need a null modem cable that swaps Rx and Tx, and ties RTS to CTS (assuming you are using handshaking) and depending on your target hardware asserts DCD/DSR, etc.
If you haven't gotten this working yet and you need more help, please provide some more details.
|
|
|
|
|
Hello
I need to know when any application going to use USB webcam and grab video. Any idea how I can do this? service\driver\UVC extension\messages\etc ?
|
|
|
|
|
It has two banks, one with a 512MB module in it and the other is empty. I'm pretty sure that I could put another 512MB module in the other bank, but I'd really like to put a 1GB module in both banks. I just don't know if the machine would support it. It's a "generic" machine so how can I tell?
Thanks.
DC
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi!
Short answer: In reality, without knowing the exact motherboard and rev, and possible processor (AMDs have DRAM controller internal), no one can say with 100% certainty!
Sorry, anyone that tells you otherwise likely isn't a hardware engineer (like me), has never done high-speed DRAM design (like me), has never done a high-speed signal integrity intensive design (like me), and/or has never used $$$$ signal integrity tools (like me).
In reality, every DRAM module model number is different! That includes speed and module Rev number. All motherboards list tested/approved DRAM modules, the capacities, the speed, the module part number. In reality, without that info, it is a total CR*P SHOOT!!
Some capacities may and may not work. Some speeds may and may not work. And, if it's an older motherboard, good luck finding those specific part numbers!
There are many real life issues with DRAM modules. They all differ in capacitance, trace length, trace matching, impedance differences (trace to trace), etc. And, every DRAM has different (but "very close") specs - even for the same speed/size/etc. There are hold time, setup time, capacitance, tolerance of termination, etc issues.
In general, you can likely put in 1GB DRAM module in each. As long as they are the same speed grade as your current 512MB module(s). Your best bet would be to go with name brand modules that support faster access times. BUT, there is a "decent" chance that you may have to tweak your BIOS settings to lower the DRAM access speed, and/or lengthen the accesses.
Consider it like speeding on the highway during a holiday. You know there are speed traps. But, still, "most/many" people can speed and not get caught. Same with doing a DRAM upgrade without going by the Manufacture's manual.
BTW: I very very strongly suggest that you do a disk image before you try out a DRAM upgrade. However again, many people speed during the holidays, they don't have radar detectors, and they don't get tickets. Just because something is foolish, doesn't mean that people don't do it, and not get screwed. For me, I avoid doing foolish things if I know they are foolish beforehand.
Wish I could be of more help. Oh well. At least I can say "it won't be a massive loss of money if it doesn't work". (And, of course, you first did a disk image.)
Good Luck!
_____
Joe
Principal Hardware/Software Engineer over a dozen years.
Hardware/Software? Huh? Today, the line keeps getting more and more murky.
BS: Comp Sci Engr/Elec Engr ; minor Mech Engr.
MS: Comp Engr.
modified on Sunday, August 23, 2009 6:33 PM
|
|
|
|
|
You could try to use hardware diagnosis software to find out the manufacturer and model of the board, then look that one up on the web.
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Download CPU-ID. It is a program that can tell you alot about your computer, including motherboard, memory, and memory timings.
The post you got from mustang86 was WAY overkill in how hard it is to find memory upgrades. If it is an older computer, yes is it harder, but umless you are looking for 72-pin SDRAM, you should be fine.
Also, memory upgrades, in my experience (I've done thousands), doesn't cause data corruption issues. The only thing is if you get memory with the wrong timings, your system will be unstable, something I am sure you do not want.
Basically, use CPU-ID to get your motherboard model number, Google that to find max RAM, and memory timing numbers. Then, I would suggest using an online store to find the memory that you find will work.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Expert Coming wrote:
The post you got from mustang86 was WAY overkill in how hard it is to find memory upgrades.
I figured that out after the second sentence.
Expert Coming wrote: Also, memory upgrades, in my experience (I've done thousands), doesn't cause data corruption issues.
I've never lost data due to inserting bad/wrong memory. At worst, the computer just failed to boot.
The 512MB module that is currently in it is from Kingston so I have all of the important numbers. The key is just to determine if the mobo maxes out at 1 or 2GB. I'll locate the mobo's make/model (hopefully) this evening.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Kingston has a memory configurator on their homepage that will tell you what/how much memory and combinations thereof you can use on your MB.
Your task is to find out make and model...
|
|
|
|
|
Crucial has a Scanner[^] that will examine your system to figure out what sort of memory it can take. Since they guarantee compatibility if you scan and order from them directly I'd think it's more or less universally trustable.
The latest nation. Procrastination.
|
|
|
|
|
Hi everyone.
Am currently tasked with a responsibility of developing a small application to monitor and log all printing jobs in an a Internet cafe.the application should be able to do the following:-
-when a user sends a print command,information such as the number of pages (sent for printing and those successful printed) and document name user intends to print should be captured and stored in a database.
-the name of the computer from which the job is sent should be captured
In case the printer prints less pages as intended by user,the system should be able to get the reason why it printed less pages (maybe printer running out of papers,or process cancel led by user)
The problem is that i don't know where to start from.Any helpful information(ie tutorials and suggestions) is highly appreciated.
THANKS IN ADVANCE.
Pascal
|
|
|
|
|
|
THANKS SO MUCH IT GAVE ME A STARTING POINT.
I TRIED TO RUN IT BUT COULD NOT WORK.
-WHEN SHOULD I RUN THE FORM(WHEN I SEND SOME JOB TO PRINTER OR BEFORE) AND
-SHOULD THIS APPLICATION BE RUN FROM THE COMPUTER WHICH IS PHYSICALLY CONNECTED TO THE PRINTER?
-ARE THERE CHANGES I NEED TO MAKE TO CUSTOMIZE THE APPLICATION IN ORDER TO SUITE MY REQUIREMENTS?
ANY HELP IS APPRECIATED.THANKING YOU IN ADVANCE
|
|
|
|
|
Im not sure if the print-monitor API runs 'across machines' ..
I would build the print monitor into a dll, install it on all the machines with printers attached.
The print monitor itself could connect to a centralised machine with MS-SQL installed on it to write the records of what you've captured, and include what machine wrote the log record with the number of pages etc
Try these for brain food
http://www.codeguru.com/cpp/w-p/printing/article.php/c5893[^]
http://msdn.microsoft.com/en-us/library/ms802185.aspx[^]
oh, here's some to help you get by on this forum .. STOP SHOUTING - drop the all caps replies please
'g'
|
|
|
|
|
In execution, Win32 SDK func RegisterDeviceNotification() returns fail all the way. here i list my code as below.
HidD_GetHidGuid(&m_guidHID);
// 注册设备的GUID,以便响应系统热拔插消息
// 设备的GUID, 不同的设备有不同的GUID,根据实际情况设定
DEV_BROADCAST_DEVICEINTERFACE DevInt;
//memset(&DevInt,0,sizeof(DevInt));
ZeroMemory( &DevInt, sizeof(DevInt) );
DevInt.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
DevInt.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
DevInt.dbcc_classguid = m_guidHID;
HDEVNOTIFY hNotifyDevNode;
//hWnd = TForm->Handle
hNotifyDevNode = RegisterDeviceNotification(hWnd,&DevInt,
DEVICE_NOTIFY_WINDOW_HANDLE);
I prefer C++ Builder as my development environment, and Windows XP2 sp2 SDK. Did i do Something Wrong? Many thanks in advance
|
|
|
|
|
I need to control a set of LEDs from a usb port. Can someone help or relate me to an article on how to do that please? I think I will try to use C# coding to access the usb port. Thanks
|
|
|
|
|
Hi,
1.
depends on how many LEDs. You could easily connect 3 to one serial port (e.g. a USB-to-RS232C cable); and use the SerialPort class to control the output control lines.
2.
you could connect any number using external logic, basically implementing a shift register (needs data, clock, clear as a minimum; without an additional latch, they would flicker when a new data stream gets sent). This needs an external power supply.
3.
you could connect any number supported by it by using a micro-controller. This too needs an external power supply.
4.
yes C# can be used for such things.
5.
have you googled? searched CodeProject articles? there are several.
[EDIT]
Of course you would need at least a series resistor to limit the current and keep things alive. Depending on the LED and the voltages of the serial port, I would go for 1000 to 4700 ohm. Lower = more current = brighter = more dangerous. Don't go anywhere under 470 ohm!
[/EDIT]
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
modified on Friday, August 14, 2009 10:11 AM
|
|
|
|
|
You cannot attach an LED directly to the port and control it. There has to be an interface between the two. You can Google for "control LED USB[^]" for some example projects.
You can also look at Phidgets.com for good interface kits, complete with drivers and an easy to use API.
|
|
|
|
|
Hi.
You asked the same question a year ago:
http://www.codeproject.com/Forums/1649/Csharp.aspx?fid=1649&select=2672552&tid=2672552[^]
My question is why do you want to "flash LEDs"?
I doubt that your real desire is to have your PC light up an LED. So, it then comes down to what do you want to control with your PC, the reason, and so on.
A super simple solution is the following:
I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port[^]
And an USB to Parallel adapter (~$15).
http://www.amazon.com/Sabrent-SBT-UPPC-Parallel-6-Foot-Printer/dp/B0007UVRVO[^]
But, if it's for something that going to be built and packaged, then that's different. In that case, your best bet could be to go with a USB bridge that has parallel outputs. You can use something like the Silicon Labs CP2103. Or, even the CP2102, and use the RS232 signals.
https://www.silabs.com/products/mcu/Pages/CP2103EK.aspx[^]
It's ~$30 for the test kit, and the chips are easy to get and very cheap.
Also, FTDI makes a number of chips, like the FT245R.
http://www.ftdichip.com/Products/FT245R.htm[^]
I've used the CP2103 a lot. It's awesome for a simple, cheap, small space solution to have an embedded controller or FPGA communicate to a PC. Now, I need something faster than ~1MBit transfer. So, I'm going to use an FTDI chip.
Otherwise, there are other products/boards, like at Phidgets.com, that have relays on the board so that you can drive more current.
_______________
Joe
modified on Saturday, August 15, 2009 7:21 PM
|
|
|
|
|
Hi.
Since it seems like this type of questions comes up every now and then. So, here's a quick list of other resources to look at:
For something to use in the lab, dataq is one of the main companies that businesses go to for low-cost/mid-range solutions. A very cheap whay to get a few I/O pins and have it in a packaged form is:
DI-158 Starter Kit
Low-Cost USB Data Acquisition Device
http://www.dataq.com/products/startkit/di158.htm[^]
* Low-cost, compact, USB data acquisition starter kit.
* Record data with 12 bits of measurement accuracy at rates up to 14,400 samples/second. WinDaq High Speed Acquisition software required for recording rates over 240Hz.
* Convenient USB interface.
* Four ±10V or optional ±64V fixed differential inputs.
* Four digital bits for general purpose I/O.
* Two 0V to 1.25V digital to analog output ports.
Another pre-built board to consider is:
http://www.xdimax.com/sub20/sub20.html[^]
SUB-20 Multi Interface USB Adapter
USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD
* Full Interface Crosspoint - converts any to any
* USB to I2C Master and I2C Slave, USB to SMBus
* Up to 8MHz USB to SPI Master and SPI Slave
* USB to GPIO - 32 GPIO, PWM Outputs
* USB to ADC - 8 Analog Inputs (A/D Converters)
* USB to RS232, USB to RS485, USB to ModBus
* USB to IR (USB to Infrared) Adapter
* 8x2 LCD, Leds, Push Buttons
* Field upgradable and customizable
* NI LabVIEW Support
If this is for an end product or for a board, and you want to use Ethernet for connectivity, then Lantronix has a number of good solutions:
Good solution for a board:
XChip Direct SoC
http://www.lantronix.com/device-networking/embedded-device-servers/xchip.html[^]
Embedded Device Gateway SoC Co-Processor XChip
* Connects to host microcontroller for serial to Ethernet (LAN) applications
* Robust networking and applications firmware included – no coding required; zero royalty licensing agreement
* Integrated 10-100 MAC/PHY; 256K SRAM; up to 230 Kbps data rate
* Compact 12mm x 12mm 184 BGA package
* 2 PIO (Programmable I/O) pins (software selectable)
Another good solution is the XPort Direct+. The development kit is cheap, and it's through hole. However, for a product, it's more costly and takes up more area.
XPort Direct+ Embedded Device Server
http://www.lantronix.com/device-networking/embedded-device-servers/xport-direct-plus.html[^]
* Powerful and affordable networking for any device with a serial interface on its microcontroller
* Integrated module with RJ45 and dedicated networking SoC
* Web server, TCP/IP protocol stack and Windows deployment software
* Up to 921 Kbps data rate
* Compact low profile (<12 mm)
* 2 x 12 pin, 2 mm headers
* Three GPIO pins (Programmable I/O)
* RS-232/RS-485 ready
* 256-bit AES encryption for secure communications
So, the above should be plenty of info to get someone very well started on having a PC be able to connect to a remote device, to control a few lines, to read analog voltages, or to send out an analog signal (DAC).
Good Luck!
____________
Joe
|
|
|
|
|
In our network 15 computer are inter-connected. Now we are planning to add a storage device that will collect all 15 system data.
But we can't accommodate a separate system for that so that
we are thinking Is any additional device that will work as mass storage device???
If you have any idea please post it.
|
|
|
|
|