Programming

52K

Solutions

40K

Contributors

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi Experts!
I am Fresher,
could you please provide me the details, how to approach the real time projects in organization...
0
Get HTML5 Certified
LVL 9
Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Hello,
Back when C# came out; I did not know how to pronouns this combination of C and a # (sharp).  Talking to a  developer, he chuckled when I said "C pound."
And now, when "reading" about generic decorators; it is not written as to  how to pronouns these;
*args, **kwargs
Might any one have the phonetics /fəˈnediks/ on these two decorators;
*args, **kwargs

Thanks
0
I have a main form and a frame. I have dynamically placed the frame on the form and set the parent of the frame to be the panel on the form.

When i try to free the frame via a button on the frame, using self.free, i get an access violation error thereafter.

I am a beginner programmer and i would like to know how to free the frame from memory without getting an access violation error.
0
I have my code like below
      response = orch.process(request);

when i mover on to process method and click control and left mouse click it supposed to go to process method implementation but it is not doing in eclipse mars.

it used to work earlier not sure suddenly what happened stops working.

i restarted my laptop still not working.

please advise
0
Hi Experts,

I have this script tested and works as expected.  script checks the disks attached to server and checks the  drive label  of the disks and create a .txt file with the drive letter name ( such as "D drive.txt")  scripts is copied to  each server already and locally run.

For an example, if four disk found as D, E,Y,S on a local server, after running the script,  when I  go into each disk, I should have a .txt file saved in there as D drive.txt, E drive.txt , Y drive.txt and S drive.txt

batch script will be used on  mixture Windows OS versions. ( 2003 to 2012)

Issue: it works fine when script is run locally but when needed to run using PSexec, it produces different issues  even though script is on the local server and all PSexec should do is executing the script with remotely instead of logging into the each server. I have read on forums that vmic is not very friendly with PSExec, is there way to eliminate wmic from the script? here is forum talks about the issues it causes:  https://forum.sysinternals.com/psexec-hangs-when-running-wmicexe_topic14752.html

thanks in Advance
markerfile.txt
0
hi,

in eclipse java project i have below stored procedure in a DAO class say LMN.java


abc_TerminalXYZ_Select

wen i search on it eclipise not finding.
how to find all the stored proc similar to above in all DAO classes?
what are best search strategies to find what i want in eclipise?
please advise
0
Part One of the two-part Q&A series with MalwareTech.
7
I'm looking for a PHP code snippet that loops through multiple lines in a textarea and turns it into an unordered list.

For example, users would paste the text similar to the following into a textarea (with a hard carriage return after each line):

Hand carved double wood entry doors
Wood flooring and wood detailed ceiling with custom moldings
Breakfast bar with sink, refrigerator and cabinetry
Large bedroom with views of the Intracoastal Waterway
French doors lead out to a private covered patio with fireplace

Open in new window


.. and I'd like to convert it to the following -- on the fly -- using PHP:

<ul>
     <li>Hand carved double wood entry doors</li>
     <li>Wood flooring and wood detailed ceiling with custom moldings</li>
     <li>Breakfast bar with sink, refrigerator and cabinetry</li>
     <li>Large bedroom with views of the Intracoastal Waterway</li>
     <li>French doors lead out to a private covered patio with fireplace</li>
</ul>

Open in new window


I believe the main challenge is that I have to turn this into some kind of list or array (using the hard carriage returns as delimiters) and to then loop through that list to stiitch everything back together into an unordered list.

How would I accomplish this using PHP?

Thanks,
- Yvan
0
if(isset($_GET['add_cart']))
      {  
        global $con;
        $ip=getIp();
            $pro_id = $_GET['add_cart'];
            $check_pro="select * from cart where ip_add='$ip' AND p_id='$pro_id'";
            $run_check=mysqli_query($con,$check_pro);
            
            if(mysqli_num_rows($run_check)>0)
                  
            {
                  
                  echo "";
            }
            else
            {
                  $insert_pro="insert into cart(p_id,ip_add)values('$pro_id','$ip')";
                  $run_pro=mysqli_query($con,$insert_pro);
                  echo
                  "<script>>window.open('index.php','_self')</script>";
            }
0
how to stop form process for tracing
0
Optimize your web performance
LVL 1
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

I have an issue print a pdf label to a zebra printer. I can print the file fine using the printdocument class, however the issue is the speed. It takes far too long to print.

So instead my idea was to send a zpl command directly to the printer and see if the performance was improved. To do this I am converting the pdf file to an image file and then trying to send the image using the below code.


 string zplImageData = string.Empty;
                //Make sure no transparency exists. I had some trouble with this. This PNG has a white background
                string filePath = GetLabelTemplateFolderPath() + hu + ".png";
                byte[] binaryData = System.IO.File.ReadAllBytes(filePath);


                foreach (Byte b in binaryData)
                {
                    string hexRep = String.Format("{0:X}", b);
                    if (hexRep.Length == 1)
                        hexRep = "0" + hexRep;
                    zplImageData += hexRep;
                }


                //string hex = BitConverter.ToString(binaryData).Replace("-", string.Empty);

                string zplToSend = "^XA" + "^MNN" + "^LL12000" + "^PW12000" + "~DYE:" + hu + ",P,P," + binaryData.Length + ",," + zplImageData + "^XZ";
                string printImage = "^XA^FO115,50^IME:" + hu + ".PNG^FS^XZ";


                SendStringToPrinter(printername, zplToSend);

                SendStringToPrinter(printername, printImage);


This code prints a small …
0
I Want to disable clipboard option for citric clients, and in citrix  server'.
how to disable can anyone help me please
0
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
0
Hi, new member here and first post. My goal is to create a basic tab control using the Win32 API that contains a canvas for rendering OpenGL. Please see attachment for my source code. I created a tab control with two tabs; the first tab contains a button and the second tab contains the rendering context. The first tab, when active, successfully displays a button. The second tab, when active, does not display the OpenGL canvas. The only way I can get the canvas to appear in the GUI is to exclude the tab control (comment out the CREATE_TAB_PANE macro in my example to do this). I am rendering the OpenGL context within a static control. Thanks in advance for your help.
OpenGlTabWin32.cpp
0
I would like to know what fundamentals I need to build Android Apps.
0
I use setvalue all over, but recently modified a form that opens executing a set value macro.  I get a return without gosub popup and then error number 3.

If I first open a different form and execute a set value there and then go to this form, the error doesn't occur.  

It seems like some kind of initialization problem but I can't fathom it.  

I'd appreciate any help you can give.

Additional note at 8 PM-- I tried copying the offending form and using the copied version in place of the original -- and the error went away.  It doesn't answer why but at least things are working now.

Any ideas on why this strange behavior occurs?

Thanks,
Serena
//
0
What is tunneling and JRMP and DMZhow they are related to firewall and ports and network. Why we use tunneling. please advise
0
How authentication and authorization different from data integrity and Confidentiality.

why we use key, tokens, certificates, rkm etc. please advise
0
I was reading about Resource Bundles

as below
internationalization feature of the JDK provides a mechanism for separating user interface (UI) elements and other locale-sensitive data from the application logic in a program.
I can relate with local sensitive data separation but not the UI elements like buttons etc why we need to separate?

pelase advise
0
On Demand Webinar - Networking for the Cloud Era
LVL 9
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Hi,

the create method is optional for Entity Beans. This is useful when you do not want to clients to be able to insert data into the database.

i am reading as above. I was not clear what is relation between create metnod and the insert data to the database.  please advise
0
3
I need to loop through letters of the alphabet I know the first and last. How do i achieved what i want to do.

Dim MaxRow as string
Dim MinRow as string

MaxRow = dr("MaxOfRow").tostring ' Item from a database
MinRow = dr("MinOfRow").tostring ' Item from a database

For Each c In "ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharArray() '=> In here i ned to put the initial letter which is MinRow and the last is the MaxRow
...
Next


How can i achieved this?
Thanks
0
What are the common concurrency management mechanisms?
0
actualy i have created a popup.on the body part of browser i have disbled mouse click(right and left click) bt now i want , if i click on new window tab or browser cut buttion it should be disabled(both right click and left click).
i am using programming language html,css,javascript......can u plz give me the solution
0
actualy i have created a popup.on the body part of browser i have disbled mouse click(right and left click) bt now i want , if i click on new window tab or browser cut buttion it should be disabled(both right click and left click).
i am using programming language html,css,javascript......can u plz give me the solution
0

Programming

52K

Solutions

40K

Contributors

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.