857 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for DavidKroukamp

I have seen many people struggling with Reading files and writing files in java, also a great problem is how to edit a file too. So in this code snippet I have put all these problems into one small program in hopes to help others. So this code snippet will …

Software Development java
Member Avatar for Bdill7
5
23K
Member Avatar for Mr.M

Hi Dw I'm doing a scanning program and now the problem is that there are some files and folders which the program can't access because of access denial and it just produce an error and don't continue with the scan so now I want to know how can I skip …

Software Development microsoft-access vb.net
Member Avatar for Rythorian_1
0
5K
Member Avatar for Mr.M

Hi DW, I'm having an issue here, I have 3 forms namely `start.h`,`home`,`Form1` in their order of execution, the problem starts when I include Form 1 to any of these forms then I get `LNK2005 'unsigned short MyprojectName::m_hservice' (?m_hservice@MyprojectName@@$$Q3GA) Already defined in home.obj` NB these forms are completely different, the …

Software Development c++
Member Avatar for Mr.M
0
213
Member Avatar for xara212
Member Avatar for complete

I want to use C# do to a necessary mass emailing of hundreds of receiving email addresses. I have a gmail account and I believe my message will be better received if it comes from my personal gmail account instead of from one of my website's email accounts. But if …

Software Development c# visual-studio
Member Avatar for rproffitt
0
13
Member Avatar for Ray brad

My name is Ray Brad. I am a learner in Salesforce development and administration, and I also have knowledge of Java concepts. If anyone has questions related to these topics, feel free to comment, and I will do my best to answer them.

Software Development cloud-computing java visual-basic
Member Avatar for Osama_21
2
48
Member Avatar for PM312

I have chart showing daily closing price of share for last 20 days. There is no closing price for Saturday and Sunday . However chart is showing blank space for these days i.e. total 29 days interval i do not want blank spaces but only 20 columns. Not getting how …

Software Development vb.net visual-basic
Member Avatar for PM312
0
40
Member Avatar for Mr.M

Greetings, I'm having an issue, I want to set my form to display at the very top right hand side corner of a screen, I've achieved this in vb.net using this code `Location = New Point(Screen.PrimaryScreen.WorkingArea.Width - Width, 0)` Does anyone know how I can do this in VC++?

Software Development c++ vb.net
Member Avatar for Reverend Jim
2
66
Member Avatar for CrystalKanger

good day - I am wondering if anyone can explain to me how to allow the user to change the name of the tabs in a tab control via a textbox? For example, at runtime the user will be able to change the title of the tab ("TabPage1") to "Baking" …

Software Development c vb.net visual-basic
1
13
Member Avatar for Mr.M

Hi DW, I'm trying to automate using NAVIS, I tried using post method simulating how it does on a web browser but I get error 678 then now I'm trying to access it using vb.net web browser.It does load but the issue is that I can't set the input elements …

Software Development vb.net
0
18
Member Avatar for kz07

hey.. im new in c++ and im doing an engineering journal as my assignment.. i dun know how to do this.. Entries in the journal are private, so the journal is encoded and protected using a pin. When the program is executed it will ask for a 4-digit pin. The …

Software Development c++
Member Avatar for jonathan_57
0
2K
Member Avatar for tjeckley

Hello DaniWeb community. I haven't been on the site in quite some time - it's so intense now that I almost feel a bit silly for asking a simple question but here goes. I have a personal account set up with Microsoft 365 and all is well for the most …

Software Development microsoft-office
Member Avatar for tjeckley
1
37
Member Avatar for TaraRiddle

Is there any method in java to generate random number (integer, byte or float) ? Please tell me if any i need it in my program. If possible please give full example. Thanks!

Software Development java
Member Avatar for WendyDolan
0
1K
Member Avatar for smithriyan668

I'm quires about knowing how platform modernization transforms the digital business?

Software Development digital-publishing
Member Avatar for meyerrluanna
0
35
Member Avatar for Robert_72

I'm start experiment with nodejs/coffeescript and the jade engine. I can see from the examples that setup are around seems pretty standard. app = express.createServer().listen process.env.PORT app.configure -> app.set 'views', __dirname + '/views' app.set 'view engine', 'jade' app.set 'view options', layout: true app.use express.bodyParser() app.use express.static(__dirname + '/public') app.use app.router …

Software Development java javascript
Member Avatar for Sanket_17
0
2K
Member Avatar for deceptikon

A common task in C or C++ is to get a string from somewhere and convert it to an integer. "Use `atoi`" is a common suggestion from the unwashed masses, and on the surface it works like a charm: #include <stdio.h> #include <stdlib.h> long long square(int value) { return value …

Software Development c c++
Member Avatar for Salem
8
2K
Member Avatar for Sejal_8

to create a code in c++ for representing an adjacency matrix using templates and delete node function

Software Development c++
Member Avatar for Reverend Jim
0
27
Member Avatar for deepakgupta2186

Given below is my telephone directory program.i made two lists one for name and the other for number.I merged it into a dictionary.performing basic functions..The problem is howto update the dictionary every time and how to save this program in a new directory,so as to call it any time and …

Software Development python
Member Avatar for Mansour_4
2
23K
Member Avatar for TSC_Chazz

I have posted this question elsewhere and gotten zero helpful responses. Specifically on an Apple, with Python 3.9.10, I am using the socket sendall method to send a data buffer on a network connection that has successfully opened to a server. The data that I am sending does not reach …

Software Development apple python
Member Avatar for rproffitt
1
26
Member Avatar for cambalinho

heres my timer class with a module(on a group project for create a DLL): 'Module: Option Explicit Private Declare Function SetTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long Private Declare Function KillTimer Lib "user32" (ByVal hWnd As …

Software Development api
Member Avatar for rproffitt
0
41
Member Avatar for momentum2024

have an annoyance that I i'd like to know a workaround for please: -often/frequently/ nearly everytime i use MS 365 sign in or gmail sign in it takes me to a password reset. i have no wish to change my password { also previously did but it still kept wanting …

Software Development microsoft
Member Avatar for Salem
1
45
Member Avatar for Chimdiebube

Hey guys! I started a keylogger project two months back, and I've hit a slump relating to what features I can add to make it more complex and less basic. So I just wanted to hear any suggestions anyone might have, so I find some inspiration. **Note: This project is …

Software Development cybersecurity python
Member Avatar for Dani
0
41
Member Avatar for kothaisaravan

Hi, Am using VB.NET. I have a search page in one form(Search.vb) and another form(Form1.vb) to display the details of selected data from the search form. I already have back button in Form1.vb which returns to some other form say (Action.vb). In case of searching data it returns to Form1 …

Software Development vb.net
Member Avatar for cj10101
0
851
Member Avatar for kamaksha1

Hi.. I've to remove a very long path. I've written the below to try that but its giving WindowsError: [Error 206] (I've pasted it below). I've prepended "\\?\" to the actual path but still I'm getting the exception. Please let me know the solution... ++++ import os import shutil os.rmdir(os.path.realpath(r"\\?\D:\Kamesh\test-1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950\test-1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950\kkkkkkkkkkkkkkkkkkkkkkkkk\kllkppppppppppppp\long_path_test")) …

Software Development python
Member Avatar for Reverend Jim
1
8K
Member Avatar for TheRoyalFalcon

I found some code on the web a while back. But I don't know who wrote it. The code below looks for worksheet names in a excel file. I am not familiar with C++ (and do little to nothing with binary files). Can someone help me convert the code below …

Software Development c++ vb.net
Member Avatar for liangting03
0
1K
Member Avatar for Freaky_Chris

Hey, im having a problem retrieving information about some files due to the fact either the file name or the extension is too long. For example i want to retrieve the size of a file only i call [CODE=Python]os.path.getsize("somelongfilename.txt")[/CODE] Note that it may not be a .txt extension, but it …

Software Development python
Member Avatar for rory jackson
2
4K
Member Avatar for nalb4242

Hello , I have question regarding visual studio , I have a console application that uses some data from Linux server , how can I run my application remotely from my windows on Linux without having to add the application on the Linux server .. for the sake of debugging …

Software Development asp.net visual-studio
Member Avatar for michealaso
0
66
Member Avatar for complete

Using the Microsoft.SharePoint.Client namespace in a C# code, I am trying to access a SharePoint List but I am getting a 403. Is it because the Microsft List I am trying to access is on a different computer on the internet and the program has to be on the same …

Software Development c# sharepoint
Member Avatar for complete
1
78
Member Avatar for Hanginium65

I wrote the Python code to upload the .gz file from my local machine to the OpenStack object store using the following documentation: https://docs.openstack.org/python-swiftclient/latest/client-api.html. Below is the code I wrote. from keystoneauth1 import session from keystoneauth1.identity import v3 from swiftclient.client import Connection, logger from swiftclient.client import ClientException import gzip # …

Software Development python
Member Avatar for rproffitt
0
68
Member Avatar for Hanginium65

I wrote a Python script that included the python-swiftclient module to connect to the OpenStack Object Storage and upload some files to the OpenStack Object Storage container It works great if I upload a file that ends with the extension .gz however, I’m getting an error regarding the ‘TarFile’ object …

Software Development python
Member Avatar for Salem
4
151

The End.